Dhruti Shastri has proposed merging 
lp:~openerp-dev/openobject-addons/7.0-opw-584984-dhs into 
lp:openobject-addons/7.0.

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

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-584984-dhs/+merge/146352

This patch includes the solution of the bug : 
https://bugs.launchpad.net/openobject-addons/+bug/1105067,
courtesy of Niels Huylebroeck , Agaplan nv
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-584984-dhs/+merge/146352
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/7.0-opw-584984-dhs.
=== modified file 'account_payment/wizard/account_payment_order.py'
--- account_payment/wizard/account_payment_order.py	2012-12-06 14:56:32 +0000
+++ account_payment/wizard/account_payment_order.py	2013-02-04 07:49:21 +0000
@@ -87,6 +87,7 @@
                     'order_id': payment.id,
                     'partner_id': line.partner_id and line.partner_id.id or False,
                     'communication': line.ref or '/',
+                    'state': line.invoice and line.invoice.reference_type != 'none' and 'structured' or 'normal',
                     'date': date_to_pay,
                     'currency': (line.invoice and line.invoice.currency_id.id) or line.journal_id.currency.id or line.journal_id.company_id.currency_id.id,
                 }, context=context)

_______________________________________________
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