Class: Kangaroo::Util::Proxy::Workflow

Inherits:
Kangaroo::Util::Proxy show all
Defined in:
lib/kangaroo/util/proxy/workflow.rb

Instance Method Summary collapse

Methods inherited from Kangaroo::Util::Proxy

#__initialize__, new

Instance Method Details

#call!(name, model_name, id) ⇒ Object

Advance workflow via exec_workflow on OpenERPs object service.

Parameters:

  • name

    function name to call

  • model_name

    OpenERP model to execute the function on

Returns:

  • returned value



9
10
11
# File 'lib/kangaroo/util/proxy/workflow.rb', line 9

def call! name, model_name, id
  super :exec_workflow, model_name, id, name
end