添加功能
This commit is contained in:
@@ -71,8 +71,8 @@ class YuthonOnboardApproval(models.Model):
|
||||
representatives = fields.Char(related='party_id.representatives', string='法定代表人或委托代理人')
|
||||
economy_type = fields.Char(related='party_id.economy_type', string='经济类型')
|
||||
address = fields.Text(related='party_id.address', string='通讯地址')
|
||||
phone = fields.Char(related='information_form_id.phone', string='联系电话')
|
||||
card = fields.Char(related='information_form_id.id_card', string='身份证号码')
|
||||
phone = fields.Char(string='联系电话', required=True)
|
||||
card = fields.Char(string='身份证号码', required=True)
|
||||
salary_group_id = fields.Many2one(
|
||||
"yuthon.salary.group", string="工资单分组", store=True, index=True
|
||||
)
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<field name="is_office"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="department_id1" domain = "[('company_id', '=', company_id)] if is_this_company else []" options="{'no_create': True}"/>
|
||||
<field name="department_id1" domain = "[('company_id', '=', company_id)] if is_company else []" options="{'no_create': True}"/>
|
||||
<field name="contract_type" invisible="employment_form == 'formal' or not employment_form"/>
|
||||
<field name="contract_type1" invisible="1"/>
|
||||
<field name="salary_group_id"/>
|
||||
|
||||
Reference in New Issue
Block a user