← Back to team overview

openerp-india team mailing list archive

[Bug 1210102] Re: Duplicate onchange partner_id methods in crm.lead

 

Hello,

  - It has been Fixed in this branch https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-596392-fka.
    revno: 9359
    revid: fka@xxxxxxxxxxx-20130813122546-50w2a0lqqapy99ng

  -It will be available in 7.0 soon.

Thanks,
FKA

** Changed in: openobject-addons
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1210102

Title:
  Duplicate onchange partner_id methods in crm.lead

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  I noticed that in crm.lead, there are 2 onchange methods for partner_id:
  - on_change_partner
  - onchange_partner_id (defined in base_stage)

  The first one is called when changing the partner_id in the lead form.
  The second one when changing the partner_id in the opportunity form.
  The methods seem to be almost identical, except that the second one
  does an address_get for 'contact'.

  Is there any reason why the behavior when changing a partner_id is different between a lead and an opportunity?
  And why is there an onchange_partner_id method in base_stage? It has nothing to do with stages...

  Openerp version: 7.0-20130728-231025

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1210102/+subscriptions


References