Odoo Help

0
eLBati
On 7/10/17, 4:39 AM

you can install a module (MODULE_NAME) via XML-RPC with


common = xmlrpclib.ServerProxy('{}/xmlrpc/2/common'.format(url))
uid = common.authenticate(dbname, 'admin', test_db_password, {})
models = xmlrpclib.ServerProxy('{}/xmlrpc/2/object'.format(url))
module_ids = models.execute_kw(dbname, uid, password,
'ir.module.module', 'search', [[
('name', '=', MODULE_NAME)]])
models.execute_kw(dbname, uid, password,
'ir.module.module', 'button_immediate_install', [module_ids])
0
Gavin Yap
On 3/22/16, 12:22 AM

You can now do it with Odoorpc lib

see example from

https://github.com/maclarensg/odoo_module_install_script

0
Ben Bernard
On 9/21/14, 9:31 AM

You mean install module using xml-rpc? No, you can't do it.

can i install module by cutom code ? no xml rc ?

ahmedrabie
on 9/23/14, 6:41 AM

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.

Register

Odoo Training Center

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

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/21/14, 8:52 AM
Seen: 1138 times
Last updated: 7/10/17, 4:39 AM