diff --git a/yuthon_purchase/models/inherit_purchase_order.py b/yuthon_purchase/models/inherit_purchase_order.py index 0207023f9..8abeb2245 100644 --- a/yuthon_purchase/models/inherit_purchase_order.py +++ b/yuthon_purchase/models/inherit_purchase_order.py @@ -28,7 +28,7 @@ class InheritPurchaseOrder(models.Model): start_date = fields.Date(string="申请日期", default=fields.Date.today()) purchase_type = fields.Selection( [('fixed', '固定资产'), ('low', '低值易耗'), ('service', '服务'), ('book', '书籍报刊'), ('foot', '饭堂食材')], - string="采购类型", default='fixed') + string="采购标的类型", default='fixed') pay_way = fields.Selection([('onetime', '一次性'), ('installment', '分期')], string="付款方式", default='onetime') reason_text = fields.Text(string="申请事由") pay_line_ids = fields.One2many('purchase.order.pay.line', 'order_id', string="付款详情") @@ -100,7 +100,7 @@ class InheritPurchaseOrderLine(models.Model): purchase_type = fields.Selection( [('fixed', '固定资产'), ('low', '低值易耗'), ('service', '服务'), ('book', '书籍报刊'), ('foot', '饭堂食材')], - string="采购类型", default='fixed') + string="采购标的类型", default='fixed') category_ids = fields.Many2many('product.category', string="产品分类", compute='_compute_purchase_type') @api.depends('purchase_type') diff --git a/yuthon_purchase/views/inherit_purchase_order_views.xml b/yuthon_purchase/views/inherit_purchase_order_views.xml index 1591e6c64..5291c77f3 100644 --- a/yuthon_purchase/views/inherit_purchase_order_views.xml +++ b/yuthon_purchase/views/inherit_purchase_order_views.xml @@ -65,6 +65,9 @@ + + 明细 + p 1