Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
4
Replies
7460
Views
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])
You can now do it with Odoorpc lib
see example from
https://github.com/maclarensg/odoo_module_install_script
You mean install module using xml-rpc? No, you can't do it.
can i install module by cutom code ? no xml rc ?
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up