This commit is contained in:
Bakry 2025-06-01 13:41:58 +03:00
parent b85ce8ae2f
commit 29e39627fe
3 changed files with 15 additions and 0 deletions

View File

@ -3837,3 +3837,15 @@ msgstr ""
" <p>تحياتي,</p>\n"
" \n"
" "
#. module: hr_contract_custom
#: model:ir.model.fields,field_description:hr_contract_custom.field_hr_contract__last_salary_gosi
#, python-format
msgid "Last Salary Gosi"
msgstr "آخر راتب للتأمينات"
#. module: hr_contract_custom
#: model:ir.model.fields,help:hr_contract_custom.field_hr_contract__last_salary_gosi
#, python-format
msgid "The Last Salary Gosi After The Age 50 Years."
msgstr "آخر راتب في التأمينات الاجتماعية بعد سن الخمسين"

View File

@ -328,6 +328,8 @@ class Contract(models.Model):
check_nationality = fields.Boolean(related='employee_id.check_nationality', store=True, string="Saudi?")
last_salary_gosi = fields.Float(string='Last Salary Gosi', help='The Last Salary Gosi After The Age 50 Years.')
def _get_employee_dependant_count(self):
for rec in self:

View File

@ -77,6 +77,7 @@
<field name="salary" required="1" attrs="{'readonly':[('state','!=','draft')]}"/>
<field name="salary_insurnce" attrs="{'readonly':[('state','!=','draft')]}"/>
<field name="ticket_allowance" attrs="{'readonly':[('state','!=','draft')]}" />
<field name="last_salary_gosi" attrs="{'readonly':[('state','!=','draft')]}"/>
<field name="has_housing" attrs="{'readonly':[('state','!=','draft')]}"/>
<field name="has_transportation" attrs="{'readonly':[('state','!=','draft')]}"/>
<!--field name="suspended" attrs="{'readonly':[('state','!=','draft')]}"/>