tree views must provide current variable names in context to start window actions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP's Framework R&D |
Bug Description
the window action can be started from form view but not from tree view if a variable is to be placed in the context
Example
res.company
context
{'share_owner_id' : partner_id}
starting the action from tree view after selecting a company raises an error
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
value = clean_action(req, action[0], do_not_eval)
File "/home/
action[
File "<string>", line 1, in <module>
NameError: name 'partner_id' is not defined
after switching to form view the window action works fine
affects: | openerp-web → openerp-server |
affects: | openerp-server → openobject-server |
description: | updated |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Medium |
status: | New → Confirmed |