[TRUNK]onchange_partner_id not working properly in new invoices

Bug #555879 reported by Alberto Luengo Cabanillas (Pexego)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

When creating a new supplier invoice, the "onchange_partner_id()" method triggered by the many2one "Partner" field that fills partner's address and account doesn't work properly in version 5.2 (popping up a "TypeError" message). This happens when installing "account_payment_extension" module, because this module overrides mentionated method but with 9 parameters (5.0 version style) instead of 10 (5.2 version style).
The patch is done and it will be commited ASAP.

summary: - [TRUNK]onchange_partner_id not working properly in new supplier invoice
+ [TRUNK]onchange_partner_id not working properly in new invoices
Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Numérigraphe (numerigraphe) wrote : Re: [Bug 555879] Re: [TRUNK]onchange_partner_id not working properly in new invoices

mra (Open ERP) a écrit :
> ** Summary changed:
>
> - [TRUNK]onchange_partner_id not working properly in new supplier invoice
> + [TRUNK]onchange_partner_id not working properly in new invoices
>
> ** Changed in: openobject-addons
> Status: New => Confirmed
>
>
For my own information, is this related to Bug #544287?
Lionel

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

Yes Numérigraphe, it was related to the API change of the onchange_partner_id method.

It has been fixed by revision 4496 <email address hidden>.

Thanks.

Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Borja López Soilán,

Thanks for reporting and fixing the bug :)

Mustufa

Changed in openobject-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.