Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4122 Vizualizări

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mar. 15
10268
1
mar. 15
7400
1
ian. 23
4917
1
apr. 21
7209
1
mai 18
5683