diff --git a/account_banking/wizard/bank_import.py b/account_banking/wizard/bank_import.py index 106001041..c2abf456b 100644 --- a/account_banking/wizard/bank_import.py +++ b/account_banking/wizard/bank_import.py @@ -842,7 +842,10 @@ class banking_import(osv.osv_memory): i += 1 results.stat_loaded_cnt += 1 - + + #recompute statement end_balance for validation + statement_obj.button_dummy(cursor, uid, imported_statement_ids) + if payment_lines: # As payments lines are treated as individual transactions, the # batch as a whole is only marked as 'done' when all payment lines