This commit is contained in:
李鹏宇
2026-03-06 16:40:15 +08:00
parent 27515862e0
commit da09bfd621
@@ -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=[('申请人', '申请人'), ('部门经理', '部门经理'), ('工会主席', '工会主席'),
('协办', '协办'),