[IMP]allow_negative_leave_and_allocation:change label and add translation

This commit is contained in:
2025-01-02 13:15:26 +01:00
committed by Stéphan Sainléger
parent c82a96fc18
commit 2836fc8e2f
5 changed files with 127 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ class HolidaysType(models.Model):
_inherit = "hr.leave.type"
# negative time off
allows_negative = fields.Boolean(string='Allow Negative Cap',
allows_negative = fields.Boolean(string='Allow Negative Leaves',
help="If checked, users request can exceed the allocated days and balance can go in negative.")
@api.depends('requires_allocation')