采购
This commit is contained in:
@@ -16,6 +16,7 @@ class InheritPurchaseOrder(models.Model):
|
||||
store=True
|
||||
)
|
||||
name_title = fields.Char(string="默认标题", default='采购申请单', readonly=True)
|
||||
name = fields.Char(string="标题", default=False)
|
||||
code = fields.Char(string="流水号", default=lambda self: self.env['ir.sequence'].next_by_code('purchase_workflow_approval_code'))
|
||||
state = fields.Selection(selection_add=[('申请人', '申请人'), ('部门经理', '部门经理'), ('工会主席', '工会主席'),
|
||||
('协办', '协办'),
|
||||
|
||||
Reference in New Issue
Block a user