Merge pull request !2825 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-05-22 06:13:13 +00:00
committed by Gitee
@@ -2,9 +2,9 @@
from odoo import api, fields, models
class YuthonPurchaseOrder(models.Model):
class PurchaseOrder(models.Model):
_name = 'purchase.order'
_inherit = 'purchase.order'
_inherit = ['purchase.order', 'soong.workflow.mixin']
company_id = fields.Many2one('res.company', string="公司", default=lambda self: self.env.company)
user_id = fields.Many2one('res.users', string="申请人", default=lambda self: self.env.user)
@@ -26,6 +26,6 @@ class PurchaseOrderPayLine(models.Model):
purchase_id = fields.Many2one('purchase.order', string="关联采购单")
payment_stage = fields.Char(string="付款阶段")
amount = fields.Char(string="比例/金额")
amount = fields.Char(string="比例/金额")
payment_date = fields.Date(string="付款日期")
remake = fields.Char(string="条件")