banking-addons-team team mailing list archive
-
banking-addons-team team
-
Mailing list archive
-
Message #00164
lp:~therp-nl/banking-addons/6.1-lp1078203-refresh_statement_browse_record_before_logging into lp:banking-addons
Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/banking-addons/6.1-lp1078203-refresh_statement_browse_record_before_logging into lp:banking-addons.
Requested reviews:
Banking Addons Team (banking-addons-team)
Related bugs:
Bug #1078203 in Banking Addons: "Message after conferming bank statement"
https://bugs.launchpad.net/banking-addons/+bug/1078203
For more details, see:
https://code.launchpad.net/~therp-nl/banking-addons/6.1-lp1078203-refresh_statement_browse_record_before_logging/+merge/134074
--
https://code.launchpad.net/~therp-nl/banking-addons/6.1-lp1078203-refresh_statement_browse_record_before_logging/+merge/134074
Your team Banking Addons Team is requested to review the proposed merge of lp:~therp-nl/banking-addons/6.1-lp1078203-refresh_statement_browse_record_before_logging into lp:banking-addons.
=== modified file 'account_banking/banking_import_transaction.py'
--- account_banking/banking_import_transaction.py 2012-05-07 11:38:26 +0000
+++ account_banking/banking_import_transaction.py 2012-11-13 11:11:20 +0000
@@ -1919,6 +1919,7 @@
_('The account entries lines are not in valid state.'))
line_obj.confirm(cr, uid, [line.id for line in st.line_ids], context)
+ st.refresh()
self.log(cr, uid, st.id, _('Statement %s is confirmed, journal '
'items are created.') % (st.name,))
return self.write(cr, uid, ids, {'state':'confirm'}, context=context)
Follow ups