From 296efcc395d26556d8382a14583aef19eae9d60e Mon Sep 17 00:00:00 2001 From: "jinling.yang" Date: Wed, 11 Oct 2023 17:39:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=B0=83=E5=8F=96cloud?= =?UTF-8?q?=E7=9A=84=E5=88=80=E5=85=B7=E6=A0=87=E5=87=86=E5=BA=93=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_base/models/common.py | 1 + sf_dlm/views/product_template_view.xml | 18 ++++++--- sf_manufacturing/models/product_template.py | 44 ++++++++++++++++----- sf_mrs_connect/models/sync_common.py | 21 +++------- sf_sale/models/quick_easy_order.py | 8 ++-- 5 files changed, 58 insertions(+), 34 deletions(-) diff --git a/sf_base/models/common.py b/sf_base/models/common.py index a6aaf0f8..7afefcea 100644 --- a/sf_base/models/common.py +++ b/sf_base/models/common.py @@ -79,6 +79,7 @@ class MrsMaterialModel(models.Model): active = fields.Boolean('有效', default=True) + class MrsProductionProcessCategory(models.Model): _name = 'sf.production.process.category' _description = '表面工艺类别' diff --git a/sf_dlm/views/product_template_view.xml b/sf_dlm/views/product_template_view.xml index fbc12cee..8c4ff1ae 100644 --- a/sf_dlm/views/product_template_view.xml +++ b/sf_dlm/views/product_template_view.xml @@ -51,10 +51,18 @@ attrs="{'invisible': ['|',('categ_type', '!=', '表面工艺'),('categ_type', '=', False)]}"/> - + + + + + + + + + + + + - +