[6.1]Unable to create "Sales Order Lines" menu

Asked by youring on 2012-11-16

OpenERP version 6.1 latest
I created a "Sales Order Lines" menu trough web client:
SETTINGS - Customization - User Interface - Menu Items
details:
Menu: Sales Order Lines
Parent Menu: Sales/Sales
Full Path: Sales/Sales/Sale Order Lines
Action: ir.actions.act_window Sales Order Lines
Then click save.
Refresh webpage.
The "Sales Order Lines" menu appears. but when click it
It pops up:

OpenERP WebClient Error
Client Traceback (most recent call last):
  File "d:\openerp\openerp\addons\web\common\http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "d:\openerp\openerp\addons\web\controllers\main.py", line 816, in action
    [('ir.ui.menu', menu_id)], False)
  File "d:\openerp\openerp\addons\web\controllers\main.py", line 635, in load_actions_from_ir_values
    for id, name, action in actions]
  File "d:\openerp\openerp\addons\web\controllers\main.py", line 646, in clean_action
    action['context'] = eval( action['context'], eval_ctx ) or {}
  File "<string>", line 1, in <module>
NameError: name 'active_id' is not defined

Question information

Language:
English Edit question
Status:
Open
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
2012-11-16
Last reply:
2012-11-17
youring (youring) said : #1

OpenERP version 6.1 latest
I created a "Sales Order Lines" menu trough web client:
SETTINGS - Customization - User Interface - Menu Items
details:
Menu: Sales Order Lines
Parent Menu: Sales/Sales
Full Path: Sales/Sales/Sale Order Lines
Action: ir.actions.act_window Sales Order Lines
Then click save.
Refresh webpage.
The "Sales Order Lines" menu appears. but when click it
It pops up:

OpenERP WebClient Error
Client Traceback (most recent call last):
  File "d:\openerp\openerp\addons\web\common\http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "d:\openerp\openerp\addons\web\controllers\main.py", line 816, in action
    [('ir.ui.menu', menu_id)], False)
  File "d:\openerp\openerp\addons\web\controllers\main.py", line 635, in load_actions_from_ir_values
    for id, name, action in actions]
  File "d:\openerp\openerp\addons\web\controllers\main.py", line 646, in clean_action
    action['context'] = eval( action['context'], eval_ctx ) or {}
  File "<string>", line 1, in <module>
NameError: name 'active_id' is not defined

Can you help with this problem?

Provide an answer of your own, or ask youring for more information if necessary.

To post a message you must log in.