Added, button_click, execute workflow, super easy.

example to use workflow,

$x = $rpc->login(....);

if($x){
     $rpc->workflow('sale.order', 'order_confirm',  $sale_order_id);
     $rpc->workflow('sale.order', 'manual_invoice',  $sale_order_id);
     .....
     // this way can execute any workflow or workflow signals...
}

Visit : www.SnippetBucket.com