Odoo Help

1

Install modules by default in multi databases

By
Fabian
on 1/27/16, 10:13 AM 654 views

Hi,

I read, that it is possible, to use odoo with a couple of databases.

Is there a script or something, which installs in all databases per default the accounting and sales module?


3

Hardikgiri Goswami

--Hardikgiri Goswami--
1133
| 2 1 5
Rajkot, India
--Hardikgiri Goswami--

OpenERP/Odoo Customization/Integration Expert / Python Programmer

Skype ID : hardikgiri.goswami

Hardikgiri Goswami
On 1/29/16, 2:47 AM

 

Very good suggestion @Ray:

@Fabian you can do it following way:

In the __openerp__.py file, need to add 'auto_install': True as shown in the below example(it is from web_calendar module).

{
'name': 'Web Calendar',
'category': 'Hidden',
'description':"""
OpenERP Web Calendar view.
==========================
""",
'author': 'OpenERP SA, Valentino Lab (Kalysto)',
'version': '2.0',
'depends': ['web'],
'data' : [
'views/web_calendar.xml',
],
'qweb': [
'static/src/xml/*.xml',
],
'auto_install': True
}
0

Ray Carnes

--Ray Carnes--
16773
| 9 7 9
Atlanta, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

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. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 1/27/16, 9:07 PM

Create a module that depends on the modules you want installed, you can even set your module to autoinstall so every new database you create will automatically have all the dependent modules installed.

Oh that sounds great can you tell me how to set my module to autoinstall?

Fabian
on 1/29/16, 2:40 AM

Feasible solution is auto_install in __openerp__.py file. @fabian you can see @Hardikgiri's Answer.

OC
on 1/29/16, 2:56 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: 1/27/16, 10:13 AM
Seen: 654 times
Last updated: 1/29/16, 3:22 AM