changeset 54aa4fef671c in modules/sale_shipment_cost:default
details: 
https://hg.tryton.org/modules/sale_shipment_cost?cmd=changeset;node=54aa4fef671c
description:
        Correct super call to _get_shipment_cost

        issue9740
diffstat:

 stock.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r db13fe64f50a -r 54aa4fef671c stock.py
--- a/stock.py  Sat Feb 27 14:37:51 2021 +0100
+++ b/stock.py  Wed Mar 03 09:44:37 2021 +0100
@@ -146,7 +146,7 @@
         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

Reply via email to