From 242f9c90501f1b449b3f13ebc00e20ab05721a28 Mon Sep 17 00:00:00 2001
From: mgw <1392924357@qq.com>
Date: Tue, 18 Mar 2025 15:58:05 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=80=BB=E6=95=B0=E9=87=8F=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
quality_control/models/quality.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/quality_control/models/quality.py b/quality_control/models/quality.py
index 961bd2a7..d4069b77 100644
--- a/quality_control/models/quality.py
+++ b/quality_control/models/quality.py
@@ -151,7 +151,7 @@ class QualityCheck(models.Model):
if record.picking_id:
total_qty = 0
for move in record.picking_id.move_ids_without_package:
- total_qty += move.quantity_done
+ total_qty += move.product_uom_qty
record.total_qty = total_qty if total_qty > 0 else ''
else:
record.total_qty = ''
From be0df6e66b217a2f11519effd6d07f8e6dfada98 Mon Sep 17 00:00:00 2001
From: mgw <1392924357@qq.com>
Date: Tue, 18 Mar 2025 16:26:39 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=A5=E5=91=8A?=
=?UTF-8?q?=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sf_quality/data/insepection_report_template.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sf_quality/data/insepection_report_template.xml b/sf_quality/data/insepection_report_template.xml
index c7d10711..5b0bb2cc 100644
--- a/sf_quality/data/insepection_report_template.xml
+++ b/sf_quality/data/insepection_report_template.xml
@@ -14,7 +14,7 @@