Merge lp:~openerp-dev/openobject-addons/7.0-opw-584984-dhs into lp:openobject-addons/7.0

Proposed by Dhruti Shastri(OpenERP)
Status: Merged
Approved by: Naresh(OpenERP)
Approved revision: no longer in the source branch.
Merged at revision: 9207
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-584984-dhs
Merge into: lp:openobject-addons/7.0
Diff against target: 11 lines (+1/-0)
1 file modified
account_payment/wizard/account_payment_order.py (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-584984-dhs
Reviewer Review Type Date Requested Status
Martin Trigaux (OpenERP) (community) Approve
Naresh(OpenERP) (community) Approve
Review via email: mp+146352@code.launchpad.net

Description of the change

This patch includes the solution of the bug : https://bugs.launchpad.net/openobject-addons/+bug/1105067,
courtesy of Niels Huylebroeck , Agaplan nv

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

Thansk for the patch, these have been merged into addons 7.0 at revision 9207 (revision-id: <email address hidden>)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_payment/wizard/account_payment_order.py'
2--- account_payment/wizard/account_payment_order.py 2012-12-06 14:56:32 +0000
3+++ account_payment/wizard/account_payment_order.py 2013-02-04 07:49:21 +0000
4@@ -87,6 +87,7 @@
5 'order_id': payment.id,
6 'partner_id': line.partner_id and line.partner_id.id or False,
7 'communication': line.ref or '/',
8+ 'state': line.invoice and line.invoice.reference_type != 'none' and 'structured' or 'normal',
9 'date': date_to_pay,
10 'currency': (line.invoice and line.invoice.currency_id.id) or line.journal_id.currency.id or line.journal_id.company_id.currency_id.id,
11 }, context=context)