Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6572 Представления

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();
Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
авг. 25
2851
1
мая 23
2734
0
дек. 23
7463
1
мар. 17
6858
0
авг. 15
4043