Invoice shipment cost without cost

issue10798
review372051002
(grafted from 5f9eb01ead9117e860bc940f92951a81a37d984c)

--HG--
branch : 6.0
This commit is contained in:
Maxime Richez committed 2021-09-29 10:42:56 +02:00
1 parent 91139aa250
commit 72ba2abdbb
1 file changed
-1
-1
View File
@@ -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: