changeset 207a8365fe23 in modules/account_statement_rule:default
details:
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset&node=207a8365fe23
description:
Apply only first matching rule
issue10403
review363311002
diffstat:
account.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r ab7ad3ed9a96 -r 207a8365fe23 account.py
--- a/account.py Mon May 03 15:54:05 2021 +0200
+++ b/account.py Fri May 14 17:34:18 2021 +0200
@@ -48,6 +48,7 @@
keywords = rule.match(origin)
if keywords:
yield from rule.apply(origin, keywords)
+ break
class StatementRule(sequence_ordered(), ModelSQL, ModelView):