Duplicate onchange partner_id methods in crm.lead
Bug #1210102 reported by
Karel Marissens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Wishlist
|
OpenERP Publisher's Warranty Team |
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
Related branches
lp:~openerp-dev/openobject-addons/7.0-opw-596392-fka
Rejected
for merging
into
lp:openobject-addons/7.0
- Thibault Delavallée (OpenERP) (community): Disapprove
- Karel Marissens (community): Approve
- Vinay Rana (OpenERP): Pending requested
-
Diff: 92 lines (+12/-37)4 files modifiedbase_status/base_stage.py (+0/-35)
crm/crm_lead_view.xml (+1/-1)
project_issue/project_issue.py (+10/-0)
project_issue/project_issue_view.xml (+1/-1)
lp:~openerp-dev/openobject-addons/trunk-bug-1210102-ptr
Ready for review
for merging
into
lp:openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 33 lines (+11/-1)2 files modifiedproject_issue/project_issue.py (+10/-0)
project_issue/project_issue_view.xml (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
no longer affects: | ocb-addons/7.0 |
no longer affects: | ocb-addons |
To post a comment you must log in.
Hello,
- It has been Fixed in this branch https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ 7.0-opw- 596392- fka.
revno: 9359
revid: <email address hidden>
-It will be available in 7.0 soon.
Thanks,
FKA