From b11b6ef283c8a4f79dceb5f395e46ec5439f8730 Mon Sep 17 00:00:00 2001 From: guanhuan Date: Fri, 6 Jun 2025 09:11:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E7=BC=96=E5=8F=B7=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_demand_plan/models/sf_production_demand_plan.py | 1 + sf_demand_plan/views/demand_plan.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/sf_demand_plan/models/sf_production_demand_plan.py b/sf_demand_plan/models/sf_production_demand_plan.py index e4ba7198..b1b9f9d5 100644 --- a/sf_demand_plan/models/sf_production_demand_plan.py +++ b/sf_demand_plan/models/sf_production_demand_plan.py @@ -89,6 +89,7 @@ class sf_production_plan(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_code = fields.Char('合同编号') date_order = fields.Datetime('下单日期', related='sale_order_id.date_order') plan_remark = fields.Text("计划备注") material_check = fields.Selection([ diff --git a/sf_demand_plan/views/demand_plan.xml b/sf_demand_plan/views/demand_plan.xml index 8220a2f2..5d3b13a7 100644 --- a/sf_demand_plan/views/demand_plan.xml +++ b/sf_demand_plan/views/demand_plan.xml @@ -36,6 +36,7 @@ +