Check same party warning only once per shipment cost
issue11340 review399171002
This commit is contained in:
1 parent
5c0eeda9ca
commit
754fee4019
1 file changed
+2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user