account_usability: small code cleanup
This commit is contained in:
@@ -27,9 +27,7 @@ class AccountBankStatement(models.Model):
|
|||||||
|
|
||||||
def _check_balance_end_real_same_as_computed(self):
|
def _check_balance_end_real_same_as_computed(self):
|
||||||
for stmt in self:
|
for stmt in self:
|
||||||
if stmt.hide_bank_statement_balance:
|
if not stmt.hide_bank_statement_balance:
|
||||||
continue
|
|
||||||
else:
|
|
||||||
super(AccountBankStatement, stmt)._check_balance_end_real_same_as_computed()
|
super(AccountBankStatement, stmt)._check_balance_end_real_same_as_computed()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user