Skip to content

Commit

Permalink
[FIX] project_template: Comparing apples and oranges
Browse files Browse the repository at this point in the history
Fixes OCA#564
  • Loading branch information
pedrobaeza authored and StefanRijnhart committed Feb 12, 2025
1 parent 256c953 commit 47e401c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_template/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def create_project_from_template(self):
'active': True,
'total_planned_hours': 0.0,
'alias_name': False})
if new_project.subtask_project_id != new_project.id:
if new_project.subtask_project_id != new_project:
new_project.subtask_project_id = new_project.id

# SINCE THE END DATE DOESN'T COPY OVER ON TASKS
Expand Down

0 comments on commit 47e401c

Please sign in to comment.