Amit Dodiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-579332-ado into 
lp:openobject-addons/6.0.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-579332-ado/+merge/125105

Hello,

"[FIX]: Reference of bank statement is not passed to move line while confirming 
the statement"

Steps:
1. Create a Bank Statement add a statement line with today's date, any 
communication, any reference, no partner, General type, any account, any amount.
2. Enter the ending balance corresponding to the amount, Save the statement and 
confirm it.
3. Take a look at the Journal Entries tab. The Reference of bank statement is 
not copied to the Reference field of the
move line.

Code is back-ported from stable 6.1

Regards,
Amit Dodiya
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-579332-ado/+merge/125105
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-579332-ado.
=== modified file 'account/account_bank_statement.py'
--- account/account_bank_statement.py	2012-03-15 13:47:26 +0000
+++ account/account_bank_statement.py	2012-09-19 06:34:19 +0000
@@ -213,6 +213,7 @@
             'period_id': st.period_id.id,
             'date': st_line.date,
             'name': st_line_number,
+            'ref': st_line.ref,
         }, context=context)
         account_bank_statement_line_obj.write(cr, uid, [st_line.id], {
             'move_ids': [(4, move_id, False)]

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to