Skip to content

Commit

Permalink
[14.0][FIX] project_milestone : Wrong assignment of tasks to mileston…
Browse files Browse the repository at this point in the history
…es when duplicating a project OCA#1283
  • Loading branch information
abenzbiria committed May 20, 2024
1 parent 44eadc5 commit 2134030
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion project_milestone/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def _onchange_use_milestones(self):

@api.returns("self", lambda value: value.id)
def copy(self, default=None):
default = dict(default or {})
project = super(Project, self).copy(default)
project._link_tasks_to_milestones()
return project
Expand Down
1 change: 0 additions & 1 deletion project_milestone/views/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
</field>
</record>
<!-- Form View -->

<record id="project_enhancement_milestone_view_inherit_form" model="ir.ui.view">
<field name="name">project.milestone.form</field>
<field name="model">project.project</field>
Expand Down

0 comments on commit 2134030

Please sign in to comment.