Browse Source

[REF] b_shift : code cleaning

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
8f5eecee49
  1. 6
      beesdoo_shift/models/attendance_sheet.py

6
beesdoo_shift/models/attendance_sheet.py

@ -64,9 +64,10 @@ class AttendanceSheetShift(models.AbstractModel):
) )
class AttendanceSheetShiftExpected(models.Model): class AttendanceSheetShiftExpected(models.Model):
""" """
Irregulars can only have two compensations
Already existing shifts on sheet creation.
""" """
_name = "beesdoo.shift.sheet.expected" _name = "beesdoo.shift.sheet.expected"
@ -103,6 +104,7 @@ class AttendanceSheetShiftExpected(models.Model):
class AttendanceSheetShiftAdded(models.Model): class AttendanceSheetShiftAdded(models.Model):
""" """
Not already registered shifts.
Added shifts are necessarily 'Present' Added shifts are necessarily 'Present'
""" """
@ -195,7 +197,7 @@ class AttendanceSheet(models.Model):
("enough", "Enough"), ("enough", "Enough"),
("too_many", "Too many"), ("too_many", "Too many"),
], ],
string="Number of workers",
string="Feedback on number of workers",
) )
validated_by = fields.Many2one( validated_by = fields.Many2one(
"res.partner", "res.partner",

Loading…
Cancel
Save