Related action missing current record context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE OpenObject Client |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Related actions (links) do not pass the current record fields values as context for the domain calculation.
-----
koo r908
modified stock_move
works with gtk
kdesvn@
Traceback (most recent call last):
File "/usr/lib64/
action.execute( id, ids )
File "/usr/lib64/
self.
File "/usr/lib64/
Api.
File "./koo.py", line 164, in executeAction
Koo.
File "/usr/lib64/
domain = Rpc.session.
File "/usr/lib64/
return eval(expression, context)
File "<string>", line 1, in <module>
NameError: name 'product_id' is not defined
do not understand - product_id is a normal m2o field ins stock_move
the source is a view.
Can you retry this, please? Does it work now? Can you show the view definition?