Commit 990ebe79 by François C.

Merge branch '3417-too-many-extra-shifts-done' into 'dev_cooperatic'

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

See merge request !46
parents f23483d8 27421d79
...@@ -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