Odoo Help


This community 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.


How to install a module from command line

on 4/4/13, 2:21 PM 8,824 views

Is there a way to install a module from the command line?

Something similar to the update option at command line. --update=UPDATE

--init=INIT This works only when the module is already in the list of the database.

There is a way to update the module list from the command line?

Did you specify the database with the -d option?

on 4/4/13, 3:12 PM

yes, the update worked but the init did not.

on 4/4/13, 3:22 PM

So if I want to update the modules list for "db_name" it will be : --update=UPDATE -d db_name ? should I switch to the openerp user ? thanks.

Yassine TEIMI
on 11/17/14, 7:17 AM

Francesco OpenCode

--Francesco OpenCode--
| 5 7 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 4/4/13, 3:28 PM

if you see --help you can read

-i INIT, --init=INIT
                    install one or more modules (comma-separated list, use
                    "all" for all modules), requires -d

This is all you need. If openERP doesn't install your module, probably there is some bug (dipendences missed for example)

I installed it from the web interface without any problem, the only dependence was product module, I guess I have to try with other modules.

on 4/4/13, 3:32 PM

I found that if I update the module list from the web client, then I can install the module from command line, I will update the question.

on 4/4/13, 3:38 PM

The -d parameter is set correctly?

Francesco OpenCode
on 4/4/13, 3:39 PM

yes de -d parameter is correct, the problem is that it is a new module and it is not in the database list

on 4/4/13, 3:42 PM

It seems -i or --init is not usable when you don't 'update module list' first..

Hannes Smit
on 7/30/13, 8:09 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 4/4/13, 2:21 PM
Seen: 8824 times
Last updated: 3/16/15, 8:10 AM