From c850e5d2cdc2deec0b1ff4f111962ca622446efd Mon Sep 17 00:00:00 2001 From: SEINLET Nicolas Date: Fri, 9 Jan 2015 16:23:38 +0100 Subject: [PATCH] Update run server action.py --- run server action.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run server action.py b/run server action.py index 239d283..aab3be7 100644 --- a/run server action.py +++ b/run server action.py @@ -1,4 +1,3 @@ if object.x_ronde_id: # I explicitely trigger this SA because for some reason object.x_ronde_id({}) wasn't working. - sa_obj = pool['ir.actions.server'] - sa_obj.run(cr, uid, 526, context=dict(context, active_id=object.x_ronde_id.id, active_model='x_ronde')) \ No newline at end of file + pool['ir.actions.server'].run(cr, uid, 526, context=dict(context, active_id=object.x_ronde_id.id, active_model='x_ronde'))