marta(pexego) has proposed merging 
lp:~pexego/account-payment/sale_payment_fix_onchange_7_0 into 
lp:account-payment/7.0.

Requested reviews:
  Account Payment (account-payment-team)

For more details, see:
https://code.launchpad.net/~pexego/account-payment/sale_payment_fix_onchange_7_0/+merge/200018

Fix onchange_partner_id signature
-- 
https://code.launchpad.net/~pexego/account-payment/sale_payment_fix_onchange_7_0/+merge/200018
Your team Account Payment is requested to review the proposed merge of 
lp:~pexego/account-payment/sale_payment_fix_onchange_7_0 into 
lp:account-payment/7.0.
=== modified file 'sale_payment/sale_payment.py'
--- sale_payment/sale_payment.py	2013-08-18 21:18:02 +0000
+++ sale_payment/sale_payment.py	2013-12-24 13:42:23 +0000
@@ -31,9 +31,9 @@
         'partner_bank': fields.many2one('res.partner.bank','Bank Account', select=True, help='The bank account to pay to or to be paid from. It will be transferred to the invoice'),
     }
 
-    def onchange_partner_id(self, cr, uid, ids, part):
+    def onchange_partner_id(self, cr, uid, ids, part, context=None):
         """Copy partner data in the sale order, including payment_type and acc_number"""
-        result = super(sale_order, self).onchange_partner_id(cr, uid, ids, part)
+        result = super(sale_order, self).onchange_partner_id(cr, uid, ids, part, context=context)
         paytype_id = False
         if part:
             partner = self.pool.get('res.partner').browse(cr, uid, part)

-- 
Mailing list: https://launchpad.net/~account-payment-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~account-payment-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to