[IMP] timesheet_exception: narrow down when to _popup_exceptions() on write() calls

H11047
This commit is contained in:
percyhibou
2022-10-06 08:14:44 +00:00
parent 368dc65b4e
commit 6cdc24609f
3 changed files with 7 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ class TimesheetExceptionConfirm(models.TransientModel):
self.related_model_id.ignore_exception = True
res = super().action_confirm()
if self.ignore:
return True
return self.action_validate_timesheet()
else:
return res