convert a lead to opportunities by creating a new partner, it creates 2 addresses, one empty

Bug #855397 reported by Aline (OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 1

Bug Description

if you convert a lead into opportunity and create a partner while you are converting the lead, the contact in opportunity form view is the "empty address", it should be the address completed in lead. To test :

- create a lead and fill in all fields of the form (address, email, phones, ...)
- convert it into opportunity and create a partner.
- in opportunity form view, the contact field is / and the lead tab is actually the second contact of the partner.

Data in lead tab (that come from lead) should be the first contact of the partner in order to see these data everywhere you use this partner (example, if you convert into quote, the only one address you see is /)

Related branches

Revision history for this message
Dhruti Shastri(OpenERP) (dhs-openerp) wrote :

Hello,

I could face the same problem with latest code.

I have attached video for more reference.

Thank you for reporting.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
Jigar A. (ifixthat)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Jigar A. (ifixthat) wrote :

Hello,
         I have fixed issue from addons/crm end and committed to lp:~openerp-dev/openobject-addons/trunk-bug-855397-jam,
 but is better to fix from server end, because in server : openerp/addons/base/res/res_partner.py, line no 150 is 'address': [{'type': 'default'}], which setting default value of contact type in partner object so it always Created new contact with default type. So it better to fix it from server rather than addons/crm.

Thank You

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → 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.