From 754fee4019aa3f1f139c9d4da2ac002bcf6602c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 3 Apr 2022 23:55:50 +0200 Subject: [PATCH] Check same party warning only once per shipment cost issue11340 review399171002 --- account.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/account.py b/account.py index 49bb23b242..31c7e7148e 100644 --- a/account.py +++ b/account.py @@ -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):