Odoo Help

1

Can I include a custom module to be installed during a new database creation?

By
Luis Alfredo da Silva
on 8/28/13, 1:34 PM 1,629 views

I wan't to install a owned custom module during database creation. With the purpose of have a package .deb in debian, who install openerp and get my module automatically configured and running.

1
Ray Carnes
On 8/28/13, 3:52 PM

Yes.

You need to set the auto_install tag in the __openerp__.py file:

'auto_install': True

See https://accounts.openerp.com/forum/Help-1/question/19776

Thanks Ray, I did what you are mentioned but the module don't appear installed, maybe I have to running openerp-server command with argument --init=module to do something? I will try.

Luis Alfredo da Silva
on 9/5/13, 7:04 PM

Does the module appear in the list of modules AVAILABLE to install when a new database is created (an no modules have been installed) ?

Bista Solutions US, Ray Carnes
on 9/6/13, 8:51 PM

No, does not appear. I have to refresh list of modules to be included and then it appear available to install

Luis Alfredo da Silva
on 9/11/13, 2:52 PM
0

Thanks Ray, I did what you are mentioned but the module don't appear installed, maybe I have to running openerp-server command with argument --init=module to do something? I will try.

0
nazarii
On 8/28/13, 3:53 PM

Try to include 'active': True, in __openerp__.py file of module you want to install by default.

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: 8/28/13, 1:34 PM
Seen: 1629 times
Last updated: 3/16/15, 8:10 AM