Correct super call to _get_shipment_cost

issue9740
This commit is contained in:
Cédric Krier committed 2021-03-03 09:44:37 +01:00
1 parent 2504c10bf0
commit b5461c07f7
1 file changed
+1 -1
+1 -1
View File
@@ -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