openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24499
[Bug 1210102] Re: Duplicate onchange partner_id methods in crm.lead
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
** Tags added: maintenance
--
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):
New
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