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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user