Odoo Help


1 Risposta

Mital Vaghani India

--Mital Vaghani--

| 5 2 5
Vadodara, India
--Mital Vaghani--
Mital Vaghani India
28/01/19, 13:13

You can write as following to set groups in user.

$info = ripcord::client('https://demo.odoo.com/start')->start();

$common = ripcord::client($url . '/xmlrpc/2/common');

$models = ripcord::client("$url/xmlrpc/2/object");

$uid = $common->authenticate($db, $username, $password, array());

$user_id = 1;

$group_id = 5;

$models->execute_kw($db, $uid, $password, 'res.users', 'write',




2 Commenti
Tabla d.o.o., Samo Arko Slovenia
29/01/19, 01:57

I found this post on stackoverflow allready. tried with the touple with the 4 command, but it won't work and I just cant figure out why. so this copy paste code that is for php doesn't help me.

Mital Vaghani India
30/01/19, 11:54

Can you please paste your code here, so I can help you for that, because above code is working properly.

Fai una domanda
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now