in project long term, cannot compute scheduler

Bug #855343 reported by Aline (OpenERP)
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned
Odoo Web (MOVED TO GITHUB)
Invalid
Medium
OpenERP R&D Web Team

Bug Description

install project long term and all buttons that allow to schedule something bug in new web client

ERROR:web.common.dispatch.JSONRequest.dispatch:An error occured while handling a json request
Traceback (most recent call last):
  File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 169, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 593, in action
    [('ir.ui.menu', menu_id)], False)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 460, in load_actions_from_ir_values
    for id, name, action in actions]
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 470, in clean_action
    action['context'] = eval( action['context'], eval_ctx ) or {}
  File "<string>", line 1, in <module>
NameError: name 'active_id' is not defined
DEBUG:web.common.dispatch:<--
{'error': {'code': 300,
           'data': {'debug': 'Client Traceback (most recent call last):\n File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 169, in dispatch\n response["result"] = method(controller, self, **self.params)\n File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 593, in action\n [(\'ir.ui.menu\', menu_id)], False)\n File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 460, in load_actions_from_ir_values\n for id, name, action in actions]\n File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 470, in clean_action\n action[\'context\'] = eval( action[\'context\'], eval_ctx ) or {}\n File "<string>", line 1, in <module>\nNameError: name \'active_id\' is not defined\n',
                    'type': 'client_exception'},
           'message': 'OpenERP WebClient Error'},
 'id': 'browser-client-151',
 'jsonrpc': '2.0'}
INFO:werkzeug:127.0.0.1 - - [21/Sep/2011 08:26:59] "POST /web/menu/action HTTP/1.1" 200 -

Related branches

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello ,

I am confirming this issue.

For more reference I have attached a Screen Shot.

Thanks.

Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Medium
status: New → Confirmed
Changed in openerp-web:
status: Confirmed → In Progress
Revision history for this message
Jagdish Panchal (Open ERP) (jap-openerp) wrote :

Hello,

   It has been fixed in p:~openerp-dev/openerp-web/trunk-bug-855343-jap

    Revision ID: <email address hidden>
    Revision num: 1083..

Thanks

Changed in openerp-web:
status: In Progress → Fix Committed
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Fixed in addons revision <email address hidden>, you will probably have to create a new db (or fix the action linked to the menu item)

Changed in openerp-web:
status: Fix Committed → Invalid
Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Stuart Longland (redhatter) wrote :

A note to anyone who gets this… I found I struck it repeatedly until I did the following:

UPDATE ir_act_window SET context='{}' WHERE name like 'Schedule %' AND res_model like 'project.compute.%';

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.