Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6298 Visualizzazioni

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();
Avatar
Abbandona
Risposta migliore

$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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 25
2344
1
mag 23
2406
0
dic 23
7046
1
mar 17
6246
0
ago 15
3623