From 72ba2abdbbc012df9d38d863b1bee1b90dbe3ce8 Mon Sep 17 00:00:00 2001 From: Maxime Richez Date: Wed, 29 Sep 2021 10:42:56 +0200 Subject: [PATCH] Invoice shipment cost without cost issue10798 review372051002 (grafted from 5f9eb01ead9117e860bc940f92951a81a37d984c) --HG-- branch : 6.0 --- sale.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sale.py b/sale.py index 7e4d8ca4ce..2c22ebe58a 100644 --- a/sale.py +++ b/sale.py @@ -311,7 +311,6 @@ class Sale(metaclass=PoolMeta): for shipment in shipments: if (shipment.state == 'done' and shipment.carrier - and shipment.cost and not shipment.cost_invoice_line): invoice_line = shipment.get_cost_invoice_line(invoice) if not invoice_line: