changeset 9bde1f3b9742 in modules/account_statement_rule:default
details:
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset;node=9bde1f3b9742
description:
Use correct format to get high range to match information
diffstat:
account.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 23e4aa7a33ec -r 9bde1f3b9742 account.py
--- a/account.py Mon Nov 02 15:48:27 2020 +0100
+++ 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