← Back to team overview

openerp-india team mailing list archive

[Bug 855343] Re: in project long term, cannot compute scheduler

 

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.%';

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

Title:
  in project long term, cannot compute scheduler

Status in OpenERP Web:
  Invalid
Status in OpenERP Addons (modules):
  Fix Released

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 -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/855343/+subscriptions