mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] timesheet_exception: narrow down when to _popup_exceptions() on write() calls
H11047
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user