Merge lp:~openerp-dev/openobject-addons/6.0-opw-579332-ado into lp:openobject-addons/6.0

Proposed by Amit Dodiya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 5344
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-579332-ado
Merge into: lp:openobject-addons/6.0
Diff against target: 11 lines (+1/-0)
1 file modified
account/account_bank_statement.py (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-579332-ado
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+125105@code.launchpad.net

Description of the change

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

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Niels Huylebroeck (red15) wrote :

Still not visible in merge today even though status says approved ?

Revision history for this message
Niels Huylebroeck (red15) wrote :

Still not merged in stable ?

Unmerged revisions

5344. By Amit Dodiya<email address hidden>

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_bank_statement.py'
2--- account/account_bank_statement.py 2012-03-15 13:47:26 +0000
3+++ account/account_bank_statement.py 2012-09-19 06:34:19 +0000
4@@ -213,6 +213,7 @@
5 'period_id': st.period_id.id,
6 'date': st_line.date,
7 'name': st_line_number,
8+ 'ref': st_line.ref,
9 }, context=context)
10 account_bank_statement_line_obj.write(cr, uid, [st_line.id], {
11 'move_ids': [(4, move_id, False)]