Check same party warning only once per shipment cost

issue11340
review399171002
This commit is contained in:
Cédric Krier committed 2022-04-03 23:55:50 +02:00
1 parent 5c0eeda9ca
commit 754fee4019
1 file changed
+2
+2
View File
@@ -255,6 +255,8 @@ class ShipmentCost(Workflow, ModelSQL, ModelView):
shipment_cost=shipment_cost.rec_name,
shipment=shipment.rec_name,
other=other.rec_name))
else:
break
shipment_cost.allocate_cost()
for company, c_shipment_costs in groupby(
shipment_costs, key=lambda s: s.company):