← Back to team overview

openerp-india team mailing list archive

[Bug 1117066] [NEW] [CRM] traceback when converting a lead that doesn't exist anymore

 

Public bug reported:

1. install CRM
2. create a lead
3. convert to opp
4. use back arrow to go back to the document
5. convert to opp again

traceback:
le "/home/odoo/runbot/static/openerp-dev-7-0-2994/server/openerp/addons/crm/crm_lead.py", line 652, in merge_opportunity
    oldest = self._merge_find_oldest(cr, uid, ids, context=context)
  File "/home/odoo/runbot/static/openerp-dev-7-0-2994/server/openerp/addons/crm/crm_lead.py", line 541, in _merge_find_oldest
    oldest_opp_id = opportuity_ids[0]
IndexError: list index out of range

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  [CRM] traceback when converting a lead that doesn't exist anymore

Status in OpenERP Addons (modules):
  New

Bug description:
  1. install CRM
  2. create a lead
  3. convert to opp
  4. use back arrow to go back to the document
  5. convert to opp again

  traceback:
  le "/home/odoo/runbot/static/openerp-dev-7-0-2994/server/openerp/addons/crm/crm_lead.py", line 652, in merge_opportunity
      oldest = self._merge_find_oldest(cr, uid, ids, context=context)
    File "/home/odoo/runbot/static/openerp-dev-7-0-2994/server/openerp/addons/crm/crm_lead.py", line 541, in _merge_find_oldest
      oldest_opp_id = opportuity_ids[0]
  IndexError: list index out of range

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


Follow ups

References