Merge lp:~openerp-dev/openobject-addons/6.0-opw-574251-rha into lp:openobject-addons/6.0

Proposed by Rifakat Husen (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 5219
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-574251-rha
Merge into: lp:openobject-addons/6.0
Diff against target: 11 lines (+1/-1)
1 file modified
account_voucher/wizard/account_statement_from_invoice.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-574251-rha
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+104551@code.launchpad.net

Description of the change

Hello,

While we importing invoices into Bank statement, relevant bank statement lines' date will have date of bank statement's. Previously statement lines were created with current date.

Please review this fix.

Regards,
Rifakat Haradwala

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

Unmerged revisions

5219. By Rifakat Husen (OpenERP)

[FIX] account_voucher: While importing Invoices into bank statement, populated statement line date considering statement date

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_voucher/wizard/account_statement_from_invoice.py'
2--- account_voucher/wizard/account_statement_from_invoice.py 2011-08-03 09:20:23 +0000
3+++ account_voucher/wizard/account_statement_from_invoice.py 2012-05-03 12:52:25 +0000
4@@ -118,7 +118,7 @@
5 'statement_id': statement_id,
6 'ref': line.ref,
7 'voucher_id': voucher_id,
8- 'date': time.strftime('%Y-%m-%d'), #time.strftime('%Y-%m-%d'), #line.date_maturity or,
9+ 'date': statement.date,
10 }, context=context)
11 return {'type': 'ir.actions.act_window_close'}
12