添加功能
This commit is contained in:
@@ -17,6 +17,7 @@ class YuthonMessageLogin(models.Model):
|
||||
_description = "个人信息登记表"
|
||||
_rec_name = 'name'
|
||||
_inherit = 'soong.workflow.mixin'
|
||||
|
||||
#基本信息
|
||||
name = fields.Char(string='名称', default="人员信息登记表")
|
||||
staff_name = fields.Char(string='姓名')
|
||||
|
||||
@@ -16,6 +16,7 @@ class YuthonOnboardApproval(models.Model):
|
||||
_description = "入职申请表"
|
||||
_inherit = 'soong.workflow.mixin'
|
||||
|
||||
|
||||
name = fields.Char(string='名称', default='入职申请表')
|
||||
worker_name = fields.Char(string='姓名')
|
||||
company = fields.Many2one('res.company', string='公司')
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<field name="worker_name" required="1"/>
|
||||
<field name="company"/>
|
||||
<field name="date_birth"/>
|
||||
<field name="select_company"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="nation"/>
|
||||
@@ -45,7 +46,6 @@
|
||||
<field name="probation_period"/>
|
||||
<field name="contract_start"/>
|
||||
<field name="contract_end"/>
|
||||
<field name="select_company"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
|
||||
Reference in New Issue
Block a user