details: https://code.tryton.org/tryton/commit/5d1691351f22
branch: 8.0
user: Udo Spallek <[email protected]>
date: Wed Jun 17 22:50:11 2026 +0200
description:
Return the quantity of sale line component for manual shipment method
Closes #14888
(grafted from 4d12bf8e46669dbb33a21dbeb13694986e603a1d)
diffstat:
modules/product_kit/sale.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 73d3c86a77c9 -r 5d1691351f22 modules/product_kit/sale.py
--- a/modules/product_kit/sale.py Tue Jun 09 18:33:51 2026 +0200
+++ b/modules/product_kit/sale.py Wed Jun 17 22:50:11 2026 +0200
@@ -171,7 +171,7 @@
pool = Pool()
Uom = pool.get('product.uom')
- if self.line.sale.shipment_method == 'order':
+ if self.line.sale.shipment_method in {'order', 'manual'}:
return abs(self.quantity)
elif self.line.sale.shipment_method == 'invoice':
quantity = 0.0