Browse Source

[FIX] b_shift : attendance sheet replacement worker field name

pull/143/head
Elouan Le Bars 5 years ago
parent
commit
231142eb7b
  1. 4
      beesdoo_shift/models/attendance_sheet.py

4
beesdoo_shift/models/attendance_sheet.py

@ -386,9 +386,7 @@ class AttendanceSheet(models.Model):
# How can we show a message without stopping validation ?
if actual_stage:
actual_shift.stage_id = actual_stage
actual_shift.replacement_worker_id = (
expected_shift.replacement_worker_id
)
actual_shift.replaced_id = expected_shift.replacement_worker_id
# Added shifts status update
for added_shift in self.added_shift_ids:

Loading…
Cancel
Save