diff --git a/addons/hr_holidays/i18n/hr_holidays.pot b/addons/hr_holidays/i18n/hr_holidays.pot index fe272f2c958..c7e4a0f87a9 100644 --- a/addons/hr_holidays/i18n/hr_holidays.pot +++ b/addons/hr_holidays/i18n/hr_holidays.pot @@ -1275,6 +1275,12 @@ msgstr "" msgid "Duration" msgstr "" +#. module: hr_holidays +#: model_terms:ir.ui.view,arch_db:hr_holidays.hr_leave_allocation_view_form +#: model_terms:ir.ui.view,arch_db:hr_holidays.hr_leave_view_form +msgid "Extra days" +msgstr "" + #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_leave__number_of_days msgid "Duration (Days)" @@ -2805,15 +2811,13 @@ msgstr "" #. module: hr_holidays #: model:ir.model.fields,help:hr_holidays.field_hr_leave_allocation__number_of_days_display msgid "" -"UX field allowing to see and modify the allocation duration, computed in " -"days." +"If Accrual Allocation: Number of days allocated in addition to the ones you will get via the accrual' system." msgstr "" #. module: hr_holidays #: model:ir.model.fields,help:hr_holidays.field_hr_leave_allocation__number_of_hours_display msgid "" -"UX field allowing to see and modify the allocation duration, computed in " -"hours." +"If Accrual Allocation: Number of hours allocated in addition to the ones you will get via the accrual' system." msgstr "" #. module: hr_holidays diff --git a/addons/hr_holidays/models/hr_leave_allocation.py b/addons/hr_holidays/models/hr_leave_allocation.py index f4143fec516..b5c07f5d2ee 100644 --- a/addons/hr_holidays/models/hr_leave_allocation.py +++ b/addons/hr_holidays/models/hr_leave_allocation.py @@ -77,10 +77,10 @@ class HolidaysAllocation(models.Model): number_of_days_display = fields.Float( 'Duration (days)', compute='_compute_number_of_days_display', states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}, - help="UX field allowing to see and modify the allocation duration, computed in days.") + help="If Accrual Allocation: Number of days allocated in addition to the ones you will get via the accrual' system.") number_of_hours_display = fields.Float( 'Duration (hours)', compute='_compute_number_of_hours_display', - help="UX field allowing to see and modify the allocation duration, computed in hours.") + help="If Accrual Allocation: Number of hours allocated in addition to the ones you will get via the accrual' system.") duration_display = fields.Char('Allocated (Days/Hours)', compute='_compute_duration_display', help="Field allowing to see the allocation duration in days or hours depending on the type_request_unit") # details diff --git a/addons/hr_holidays/views/hr_leave_allocation_views.xml b/addons/hr_holidays/views/hr_leave_allocation_views.xml index 64a6db5c833..68212af9c7f 100644 --- a/addons/hr_holidays/views/hr_leave_allocation_views.xml +++ b/addons/hr_holidays/views/hr_leave_allocation_views.xml @@ -91,8 +91,11 @@ -