odoo18/addons_extensions/project_gantt/models/project_task_recurrence.py

15 lines
387 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, api
class ProjectTaskRecurrence(models.Model):
_inherit = 'project.task.recurrence'
@api.model
def _get_recurring_fields_to_postpone(self):
return super()._get_recurring_fields_to_postpone() + [
'planned_date_begin',
]