diff --git a/stock.py b/stock.py index a717d7ec3d..9036e0fee0 100644 --- a/stock.py +++ b/stock.py @@ -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