From 5f48dad86c0c3ad59a12ba72dcae1dad0d2bb318 Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Wed, 19 Mar 2025 08:44:23 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=8F=91=E6=96=99=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E5=8D=95=E8=B4=A8=E6=A3=80=E5=BC=B9=E7=AA=97=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=89=8D=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quality_control/wizard/quality_check_wizard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quality_control/wizard/quality_check_wizard.py b/quality_control/wizard/quality_check_wizard.py index 502bacc1..f4297f47 100644 --- a/quality_control/wizard/quality_check_wizard.py +++ b/quality_control/wizard/quality_check_wizard.py @@ -116,6 +116,9 @@ class QualityCheckWizard(models.TransientModel): # 对于成品出库的出厂检验报告,增加发布按钮 def publish(self): + self.current_check_id._check_part_number() + self.current_check_id._check_measure_line() + self.current_check_id._check_check_qty_and_total_qty() self.current_check_id._do_publish_implementation() From 94441422cd2a65c7bab7f8fd767ac812495ab7d7 Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Wed, 19 Mar 2025 09:43:23 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=87=BA=E5=8E=82=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E5=B7=B2=E7=BB=8F=E5=8F=91=E5=B8=83-?= =?UTF-8?q?=E8=BF=98=E5=8F=AF=E4=BB=A5=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=86=85=E5=AE=B9-=E5=8F=91=E5=B8=83=E5=90=8E=E8=A6=81?= =?UTF-8?q?=E7=A6=81=E6=8E=89=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/quality.check.measures.line.xml | 24 ++++++++++++++++++- quality_control/views/quality_views.xml | 10 ++++---- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/quality_control/views/quality.check.measures.line.xml b/quality_control/views/quality.check.measures.line.xml index c3cb5353..68cc4249 100644 --- a/quality_control/views/quality.check.measures.line.xml +++ b/quality_control/views/quality.check.measures.line.xml @@ -15,8 +15,30 @@ -