From 7fccd99d60db5a8a9d6b48e76ac8ef70019fe511 Mon Sep 17 00:00:00 2001 From: blackbelts <74664702+eslamtalaat74@users.noreply.github.com> Date: Wed, 4 Jun 2025 14:15:02 +0300 Subject: [PATCH] delete calende --- odex25_hr/hr_holidays_public/models/hr_holidays.py | 5 ----- .../hr_holidays_public/views/leaves_balance.xml | 14 +++++++++++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/odex25_hr/hr_holidays_public/models/hr_holidays.py b/odex25_hr/hr_holidays_public/models/hr_holidays.py index 5fe8bc223..1efdd72cb 100644 --- a/odex25_hr/hr_holidays_public/models/hr_holidays.py +++ b/odex25_hr/hr_holidays_public/models/hr_holidays.py @@ -2060,10 +2060,5 @@ class holidaysAttach(models.Model): # return result -class ResConfigSettings(models.TransientModel): - _inherit = 'res.config.settings' - resource_calendar_id = fields.Many2one( - 'resource.calendar', 'Company Working Hours', - related='company_id.resource_calendar_id', readonly=False) diff --git a/odex25_hr/hr_holidays_public/views/leaves_balance.xml b/odex25_hr/hr_holidays_public/views/leaves_balance.xml index af8126e95..c60141ea4 100644 --- a/odex25_hr/hr_holidays_public/views/leaves_balance.xml +++ b/odex25_hr/hr_holidays_public/views/leaves_balance.xml @@ -10,6 +10,18 @@ + + + + + + + + + + + + hr.employee.leave.form.inherit hr.employee @@ -25,7 +37,7 @@ -