changeset 0174d4df9871 in modules/account_statement_rule:5.6
details:
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset;node=0174d4df9871
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 eac2105058c8 -r 0174d4df9871 account.py
--- a/account.py Mon May 04 12:12:24 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