diff --git a/yuthon_hr_employee/models/yuthon_hr_employee.py b/yuthon_hr_employee/models/yuthon_hr_employee.py index df117e5c1..a498aea12 100644 --- a/yuthon_hr_employee/models/yuthon_hr_employee.py +++ b/yuthon_hr_employee/models/yuthon_hr_employee.py @@ -380,8 +380,7 @@ class YuthonHrEmployee(models.Model): record.is_accum_salary = True if record.entry_date: - # if record.entry_date.year == fields.Date.today().year and record.entry_date.month == fields.Date.today().month: - if record.entry_date.year == 2025 and record.entry_date.month == 1: + if record.entry_date.year == fields.Date.today().year and record.entry_date.month == fields.Date.today().month: record.is_accum_salary = False @api.depends('open_start_time', 'interrupt_work_month') diff --git a/yuthon_will_task/__manifest__.py b/yuthon_will_task/__manifest__.py index a1fd1673c..cdcdc65cb 100644 --- a/yuthon_will_task/__manifest__.py +++ b/yuthon_will_task/__manifest__.py @@ -18,7 +18,6 @@ ], 'assets': { 'web.assets_backend': [ - # 'yuthon_will_task/static/scss/yuthon_will_task.scss', 'yuthon_will_task/static/src/js/task_create_button.js', 'yuthon_will_task/static/src/xml/task_create_button.xml', ],