Correct super call to _get_shipment_cost
issue9740
This commit is contained in:
1 parent
2504c10bf0
commit
b5461c07f7
1 file changed
+1
-1
@@ -146,7 +146,7 @@ class ShipmentOut(metaclass=PoolMeta):
|
||||
return invoice_line
|
||||
|
||||
def _get_shipment_cost(self):
|
||||
cost = super()._get_shipment_cost(self)
|
||||
cost = super()._get_shipment_cost()
|
||||
if all(not m.sale.shipment_cost_method for m in self.outgoing_moves):
|
||||
cost += self.cost
|
||||
return cost
|
||||
Reference in new issue
Block a user