@@ -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')
|
||||
|
||||
@@ -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',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user