Odoo Help

Welcome!

This community 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.

0

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

By
Ramesh Patel
on 5/17/13, 4:47 AM 2,156 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();
0
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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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