Commit f08d81aa by Damien Moulard

quickfix

parent a41d5985
Pipeline #2301 passed with stage
in 1 minute 25 seconds
...@@ -1458,6 +1458,8 @@ class CagetteServices(models.Model): ...@@ -1458,6 +1458,8 @@ class CagetteServices(models.Model):
f['associate_registered'] = typeAction f['associate_registered'] = typeAction
if typeAction == "both": if typeAction == "both":
f['should_increment_extra_shift_done'] = True f['should_increment_extra_shift_done'] = True
else:
f['should_increment_extra_shift_done'] = False
return api.update('shift.registration', [int(reg_id)], f) return api.update('shift.registration', [int(reg_id)], f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment