changeset 88f8443c9ec0 in modules/account_statement_rule:5.4
details:
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset;node=88f8443c9ec0
description:
Use correct format to get high range to match information
(grafted from 9bde1f3b9742c3f54d92c442cb65247af6f1338a)
diffstat:
account.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6c4a9aeb56f6 -r 88f8443c9ec0 account.py
--- a/account.py Sat Apr 04 16:31:59 2020 +0200
+++ b/account.py Sun Nov 15 18:15:02 2020 +0100
@@ -211,7 +211,7 @@
def _match_range(self, origin, information):
low = getattr(self, '%s_low' % self.key_type)
- high = getattr(self, '%_high' % self.key_type)
+ high = getattr(self, '%s_high' % self.key_type)
amount = information.get(self.key.name)
if amount is None:
return False