[DIRTY-HACK] for migration ONLY, should not appear in GIT HISTORY

This commit is contained in:
Boris Gallet
2025-08-27 16:59:57 +02:00
parent 6032220af1
commit d7218bb593
4 changed files with 15 additions and 9 deletions

View File

@@ -39,8 +39,8 @@ class StudyQuestionnaireResponse(models.Model):
def _compute_updated(self):
for record in self:
## XXXb0g : the following two lines are to be removed when all records will have been updated during migration
# if record.updated:
# continue
if record.updated:
continue
record.updated = record.write_date
@api.depends("create_date")