Return the quantity of sale line component for manual shipment method

Closes #14888
(grafted from 4d12bf8e46669dbb33a21dbeb13694986e603a1d)

--HG--
branch : 8.0
This commit is contained in:
Udo Spallek
2026-06-17 22:50:11 +02:00
parent f5122cd85b
commit 5b07c15444
+1 -1
View File
@@ -171,7 +171,7 @@ class LineComponent(
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