clearcorp team mailing list archive
-
clearcorp team
-
Mailing list archive
-
Message #00461
[Branch ~banking-addons-team/banking-addons/6.1] Rev 148: [FIX] Refresh bank statement browse record before printing its name
Merge authors:
Stefan Rijnhart (Therp) (stefan-therp)
Related merge proposals:
https://code.launchpad.net/~therp-nl/banking-addons/6.1-lp1078203-refresh_statement_browse_record_before_logging/+merge/134074
proposed by: Stefan Rijnhart (Therp) (stefan-therp)
review: Approve - Guewen Baconnier @ Camptocamp (gbaconnier-c2c)
------------------------------------------------------------
revno: 148 [merge]
author: Stefan Rijnhart <stefan@xxxxxxxx>
committer: Guewen Baconnier @ Camptocamp <guewen.baconnier@xxxxxxxxxxxxxx>
branch nick: banking-addons
timestamp: Tue 2012-12-18 15:42:08 +0100
message:
[FIX] Refresh bank statement browse record before printing its name
modified:
account_banking/banking_import_transaction.py
--
lp:banking-addons
https://code.launchpad.net/~banking-addons-team/banking-addons/6.1
Your team CLEARCORP development team is subscribed to branch lp:banking-addons.
To unsubscribe from this branch go to https://code.launchpad.net/~banking-addons-team/banking-addons/6.1/+edit-subscription
=== modified file 'account_banking/banking_import_transaction.py'
--- account_banking/banking_import_transaction.py 2012-12-18 14:41:15 +0000
+++ account_banking/banking_import_transaction.py 2012-12-18 14:42:08 +0000
@@ -1968,6 +1968,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)