credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #00083
[Merge] lp:~credativ/account-banking/trunk-refresh into lp:account-banking/5.0
Dmitrijs Ledkovs (credativ) has proposed merging lp:~credativ/account-banking/trunk-refresh into lp:account-banking/5.0.
Requested reviews:
Pieter J. Kersten (EduSense BV) (pieterj)
For more details, see:
https://code.launchpad.net/~credativ/account-banking/trunk-refresh/+merge/81761
[FIX] Recompute statement end balance at the end of the import.
Otherwise, it may be "stuck" with an old balance and appearing as red to
the user.
--
https://code.launchpad.net/~credativ/account-banking/trunk-refresh/+merge/81761
Your team credativ is subscribed to branch lp:~credativ/account-banking/trunk-refresh.
=== modified file 'account_banking/wizard/bank_import.py'
--- account_banking/wizard/bank_import.py 2011-11-07 22:23:48 +0000
+++ account_banking/wizard/bank_import.py 2011-11-09 17:57:14 +0000
@@ -1036,7 +1036,10 @@
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
Follow ups