Invoice shipment cost without cost

issue10798
review372051002
This commit is contained in:
Maxime Richez committed 2021-09-29 10:42:56 +02:00
1 parent 4a69eb0e35
commit d0d077c93d
1 file changed
-1
-1
View File
@@ -313,7 +313,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: