Allocate also shipment cost of 0

Closes #13155
(grafted from 9a2d0edb8d8b3903e47b74bc339ba4d2ec6df097)

--HG--
branch : 7.0
This commit is contained in:
Maxime Richez committed 2024-04-13 19:13:44 +02:00
1 parent 67bb5d05df
commit ece062ecf4
1 file changed
+1 -1
+1 -1
View File
@@ -185,7 +185,7 @@ class ShipmentOutCostMixin(ShipmentCostMixin):
moves = []
for shipment in shipments:
cost = shipment._get_shipment_cost()
if not cost:
if cost is None:
continue
factors = getattr(shipment,
'_get_allocation_shipment_cost_factors_by_%s' %