From 6867d7e4ce6064534706a6a60782d40fd2fdc8ca Mon Sep 17 00:00:00 2001 From: guanhuan Date: Wed, 11 Jun 2025 09:48:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E8=AE=A1=E5=88=92=E5=90=88?= =?UTF-8?q?=E5=90=8C=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_demand_plan/models/sf_production_demand_plan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sf_demand_plan/models/sf_production_demand_plan.py b/sf_demand_plan/models/sf_production_demand_plan.py index 086412fa..0b83b685 100644 --- a/sf_demand_plan/models/sf_production_demand_plan.py +++ b/sf_demand_plan/models/sf_production_demand_plan.py @@ -89,9 +89,9 @@ class SfProductionDemandPlan(models.Model): string='订单状态', related='sale_order_line_id.state') route_id = fields.Many2one('stock.route', string='路线', related='sale_order_line_id.route_id', store=True) - contract_date = fields.Date('合同日期') + contract_date = fields.Date('合同日期', related='sale_order_id.contract_date') date_order = fields.Datetime('下单日期', related='sale_order_id.date_order') - contract_code = fields.Char('合同号') + contract_code = fields.Char('合同号', related='sale_order_id.contract_code') plan_remark = fields.Text("计划备注") material_check = fields.Selection([ ('0', "未齐套"),