← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 855397] Re: convert a lead to opportunities by creating a new partner, it creates 2 addresses, one empty

 

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/855397

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

Status in OpenERP Addons (modules):
  Fix Committed

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
  /)

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


References