添加功能
This commit is contained in:
@@ -18,10 +18,6 @@ class ContractReviewApproval(models.Model):
|
||||
department_id = fields.Many2one('hr.department', string='送审部门')
|
||||
amount = fields.Float(string='合同金额')
|
||||
remarks = fields.Text(string='情况说明')
|
||||
purchase_type = fields.Selection(
|
||||
[('fixed', '固定资产'), ('low', '低值易耗'), ('service', '服务'), ('day', '日常消耗品')],
|
||||
string="采购类型", required=True, default='fixed')
|
||||
|
||||
urgency_level = fields.Selection([('normal', '普件'), ('urgent', '急件'), ('emergency', '特急件')], string='紧急度',
|
||||
default='normal')
|
||||
active = fields.Boolean('Active', default=True, tracking=True)
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
<field name="department_id"/>
|
||||
<field name="information_categories_ids" widget="many2many_tags" options="{'no_create': True}" invisible="approval_type == 'charter'"/>
|
||||
<field name="contract_type" invisible="approval_type == 'charter'"/>
|
||||
<field name="purchase_type" invisible="approval_type == 'charter'"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user