Odoo Help


Stock picking of order from PHP XML-RPC (V7)

Ramesh Patel
on 5/17/13, 4:47 AM 2,637 views

How can I complete the picking from XML-RPC (Deliver Products / "Deliver" button from web ui)?

my code looks like this now (nothing happens):

     $this->msg = new xmlrpcmsg('exec_workflow');
     $this->msg->addParam(new xmlrpcval($this->database, "string"));
     $this->msg->addParam(new xmlrpcval(1, "int"));
     $this->msg->addParam(new xmlrpcval($this->password, "string"));
     $this->msg->addParam(new xmlrpcval("stock.picking.out","string"));
     $this->msg->addParam(new xmlrpcval("button_done", "string"));
     $this->msg->addParam(new xmlrpcval($order_id, "int"));
     $this->res = &$this->client->send($this->msg);
     $order[] = $this->res->value()->scalarval();
Mohit Chabdra
On 5/17/13, 12:02 PM

$this->msg->addParam(new xmlrpcval($order_id, "int"));

In place of "$order_id" if you give its corresponding stock.picking id , I think it will worked.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/17/13, 4:47 AM
Seen: 2637 times
Last updated: 3/16/15, 8:10 AM