Commit 27421d79 by Damien Moulard

add field to shift reg to ensure extra shift done is increment only once

parent 2508d267
...@@ -19,6 +19,9 @@ class ShiftRegistration(models.Model): ...@@ -19,6 +19,9 @@ class ShiftRegistration(models.Model):
"Who will do the shift, partner, associate or both", "Who will do the shift, partner, associate or both",
default= False) default= False)
should_increment_extra_shift_done = fields.Boolean(
"Set to True when partners are both present. Used to detect if extra_shift_done is to be incremented when recording presences",
default= False)
@api.multi @api.multi
......
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