Odoo Help

Welcome!

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.

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,193 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

--Ray Carnes--
15677
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

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.

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)

Stats

Asked: 8/28/13, 1:34 PM
Seen: 1193 times
Last updated: 3/16/15, 8:10 AM