diff --git a/addons/account/account_cash_statement.py b/addons/account/account_cash_statement.py index f01e95ce613..0540d57a400 100644 --- a/addons/account/account_cash_statement.py +++ b/addons/account/account_cash_statement.py @@ -80,7 +80,8 @@ class account_cash_statement(osv.osv): if (statement.journal_id.type not in ('cash',)): continue if not statement.journal_id.cash_control: - statement.write({'balance_end_real' : statement.balance_end}) + if statement.balance_end_real <> statement.balance_end: + statement.write({'balance_end_real' : statement.balance_end}) continue start = end = 0 for line in statement.details_ids: