Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4228 Lượt xem

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);

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
10423
1
thg 3 15
7563
1
thg 1 23
5044
1
thg 4 21
7391
1
thg 5 18
5840