[FIX] Server Actions: evaluating dict corrected

lp bug: https://launchpad.net/bugs/516568 fixed

bzr revid: jvo@tinyerp.com-20100208123147-8ycxxoawk22f1pfp
This commit is contained in:
Jay (Open ERP)
2010-02-08 18:01:47 +05:30
parent 3e298de7b0
commit c8bcdda953
+1 -2
View File
@@ -420,7 +420,6 @@ class actions_server(osv.osv):
'sequence': lambda *a: 5,
'code': lambda *a: """# You can use the following variables
# - object
# - object2
# - time
# - cr
# - uid
@@ -527,7 +526,7 @@ class actions_server(osv.osv):
'ids': ids,
'cr': cr,
'uid': uid,
'obj':obj
'object':obj
}
exec action.code in localdict
if 'action' in localdict: