添加功能

This commit is contained in:
李鹏宇
2026-04-29 11:12:18 +08:00
parent 0c50da6c46
commit d69a48690f
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ class YuthonWillTask(models.Model):
will_ids = self.env["yuthon.will.task"].browse(
self._context.get('active_ids', self._context.get('active_id')))
for will in will_ids:
will.state = 'done'
will.task_state = 'done'
def _compute_is_company(self):
active_company_ids = self.env.companies