From b5461c07f75332652f2da8cdfe44089ee3e4e324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 3 Mar 2021 09:44:37 +0100 Subject: [PATCH] Correct super call to _get_shipment_cost issue9740 --- stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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