Skip to content

Commit

Permalink
[8.0.1.0.0][hr_holiday_multiple_approval] Revision hooks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 committed Oct 9, 2020
1 parent a85b6e3 commit 49bf6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hr_holiday_multiple_approval/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ def set_double_validation_false(cr, registry):
]
status_ids = \
obj_hr_holidays_status.search(cr, SUPERUSER_ID, criteria)
if holidays_status_ids:
if status_ids:
obj_hr_holidays_status.write(
cr, SUPERUSER_ID, status_ids, {"double_validation": False})

0 comments on commit 49bf6f4

Please sign in to comment.