@twenger26,
yes it's possible indeed. See your XML/RPC logs of your GTK client when clicking workflow buttons. (enable them starting the client with --log-level=debug_rpc) Or alternatively see how we do that in OOOR (via XML/RPC too), read the "Call workflow" section here: http://github.com/rvalyi/ooor The relevant code behind the scene is here: http://github.com/rvalyi/ooor/blob/master/lib/app/models/open_object_resource.rb especially that Ruby method: def rpc_exec_workflow_with_all(db, uid, pass, obj, action, *args) clean_request_args!(args) logger.debug "rpc_execute_with_all: rpc_method: 'exec_workflow', db: #{db.inspect}, uid: #{uid.inspect}, pass: #{pass.inspect}, obj: #{obj.inspect}, action: #{action}, *args: #{args.inspect}" try_with_pretty_error_log { cast_answer_to_ruby!(client((@database && @site || @ooor.base_url) + "/object").call("exec_workflow", db, uid, pass, obj, action, *args)) } end Hope this helps ------------------------ Raphaël Valyi CEO and OpenERP consultant at http://www.akretion.com -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=60329#60329 -------------------- m2f --------------------
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users