diff --git a/modules/lcl/pages.py b/modules/lcl/pages.py index 16528579f4a0b6985e38940d9a749f0ce7a712f3..a87b8b15edef9e06081ee8ce266c602cc1bf58e5 100644 --- a/modules/lcl/pages.py +++ b/modules/lcl/pages.py @@ -645,7 +645,7 @@ def fix_transaction_stuff(self, obj, tr_page): # ugly hack to fix broken html # sometimes transactions have really an amount of 0... - if not obj.amount and CleanDecimal(TableCell('credit'), default=None)(self) is None: + if not obj.amount: if tr_page: # TODO move this xpath to the relevant page class obj.amount = CleanDecimal(