Skip to content

Commit

Permalink
Merge PR #1340 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 7, 2024
2 parents eb3ae82 + 34af04a commit bd05ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_key/models/project_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def _update_task_keys(self):
"""

self.env.cr.execute(reindex_query, (self.id,))
self.env["project.task"].invalidate_model(["key"], self.task_ids.ids)
self.task_ids.invalidate_model(["key"])

@api.model
def _set_default_project_key(self):
Expand Down

0 comments on commit bd05ac5

Please sign in to comment.