This commit is contained in:
Bakry 2024-07-14 12:39:37 +03:00
parent 668252140b
commit 17354dbcc5
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@
<field name="salary_termination" attrs="{'readonly':[('state','not in',('draft','hr_manager'))]}" string="Termination salary ?"/>
<field name="calculation_method" string="Calculation method"
widget="many2many_tags" options="{'not_delete': True}"
attrs="{'readonly':[('state','not in',('draft','hr_manager'))],'required':[('state','=','hr_manager')],
attrs="{'readonly':[('state','not in',('draft','hr_manager'))],'required':[('state','=','hr_manager'),('salary_termination','=',True)],
'invisible':[('salary_termination','=',False)]}"/>
<field name="salary_for_eos" string="Salary For EOS" readonly="1"/>
</group>