@@ -7,7 +7,7 @@ class PurchaseFixedAssets(models.Model):
|
||||
_description = '固定资产采购单'
|
||||
_inherit = ['soong.workflow.mixin']
|
||||
|
||||
purchase_code = fields.Char(string="流水号",
|
||||
code = fields.Char(string="流水号",
|
||||
default=lambda self: self.env['ir.sequence'].next_by_code('purchase_order_sequence_code'))
|
||||
name = fields.Char(string="名称")
|
||||
company_id = fields.Many2one('res.company', string="公司", default=lambda self: self.env.company)
|
||||
|
||||
Reference in New Issue
Block a user