Odoo18-Base/addons/sale_project/models/project_task_recurrence.py

12 lines
326 B
Python
Raw Permalink Normal View History

2025-01-06 10:57:38 +07:00
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, models
class ProjectTaskRecurrence(models.Model):
_inherit = 'project.task.recurrence'
@api.model
def _get_recurring_fields_to_copy(self):
return super()._get_recurring_fields_to_copy() + ['sale_line_id']