跳至内容
菜单
此问题已终结
4215 查看

Hi , im using odoo 10 ,on sale module, and i need to confirm sale ,to move form quotation stage to order sale stage via php page

and i tried to use xmlrpc update but doesn't effect.

here is my code :

$db = "project";

$uid = 1;

$password = "01";

$models = ripcord::client("http://localhost:8069/xmlrpc/2/object");

$result = $models->execute_kw($db, $uid, $password,'sale.order', 'write',array(array(1), array('state'=>'draft')));

echo json_encode($result);

形象
丢弃
相关帖文 回复 查看 活动
2
3月 15
10409
1
3月 15
7547
1
1月 23
5027
1
4月 21
7375
1
5月 18
5809