Browse Source

[FIX] b_shift : stored field in abstract class

pull/143/head
Elouan Le Bars 5 years ago
parent
commit
8c407e368d
  1. 2
      beesdoo_shift/models/attendance_sheet.py

2
beesdoo_shift/models/attendance_sheet.py

@ -61,7 +61,7 @@ class AttendanceSheetShift(models.AbstractModel):
domain=[("partner_id.super", "=", True)], domain=[("partner_id.super", "=", True)],
) )
working_mode = fields.Selection( working_mode = fields.Selection(
related="worker_id.working_mode", string="Working Mode", store=True
related="worker_id.working_mode", string="Working Mode"
) )
def get_actual_stage(self): def get_actual_stage(self):

Loading…
Cancel
Save