添加功能
This commit is contained in:
@@ -19,4 +19,4 @@ from . import yuthon_error
|
||||
from . import yuthon_insurance_policy
|
||||
from . import yuthon_task_approval
|
||||
from . import yuthon_task_setting
|
||||
from . import trade_reward_approval
|
||||
from . import trade_reward_approval
|
||||
|
||||
@@ -48,5 +48,7 @@ class YuthonRewardLine(models.Model):
|
||||
|
||||
reward_id = fields.Many2one('trade.reward.approval', string="关联奖励申报呈批表")
|
||||
employee_id = fields.Many2one('hr.employee', string="员工")
|
||||
matters = fields.Text(string='事项')
|
||||
money = fields.Float(string='金额')
|
||||
according = fields.Text(string="申报依据")
|
||||
documents_id = fields.Many2one('ir.attachment', string="作证依据")
|
||||
@@ -51,7 +51,9 @@
|
||||
<tree editable="bottom">
|
||||
<field name="reward_id" column_invisible="1"/>
|
||||
<field name="employee_id"/>
|
||||
<field name="matters"/>
|
||||
<field name="according"/>
|
||||
<field name="money"/>
|
||||
<field name="documents_id" widget="preview_many2one"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user