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'))