← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670904] Re: Problem of Creating Opportunity from member form view

 

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

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

** Summary changed:

- Problem of Creating Opportunity from member form view
+ CRM : Create opportunity wizard crashes

** Description changed:

- From Association/Membership/Members menu
+ Sales/Addresbook/Customers.
  
- When I On wizard  "Create Oppertunity" Then I found the Following ERROR on Server SIDE: [ bug]
+ "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],
+   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
- 
- Association/Events Organisation/Events
- Form Event from view When I open it I found the Following ERROR in client side: 
- 
- ERROR:tools.expr_eval:{"search_default_draft": "1", "search_default_section_id": section_id}
- Traceback (most recent call last):
-   File "/home/tiny/workspace/usability/trunk_useability_client/bin/tools/__init__.py", line 51, in expr_eval
-     temp = eval(string, context)
-   File "<string>", line 1, in <module>
- NameError: name 'section_id' is not defined

-- 
CRM : Create opportunity wizard crashes
https://bugs.launchpad.net/bugs/670904
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

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






References