CRM : Create opportunity wizard crashes

Bug #670904 reported by vir (Open ERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 1

Bug Description

Sales/Addresbook/Customers.

"Create Oppertunity" crashes:

[2010-11-03 12:31:34,972][db_test] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/tiny/workspace/usability/trunk_useability_addons/crm/wizard/crm_partner_to_opportunity.py", line 96, in make_opportunity
    'categ_id' : categ_ids[0],
IndexError: list index out of range

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello,

This is a confirmed error as the assumption of crm.case.category is not feasible.
If the field is mandatory, a proper user-friendly warning should arise.
Thanks.

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
summary: - Problem of Creating Opportunity from member form view
+ CRM : Create opportunity wizard crashes
description: updated
tfr (Openerp) (tfr)
Changed in openobject-addons:
milestone: none → 6.0-rc2
Changed in openobject-addons:
status: Confirmed → In Progress
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.