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.

0

Can anyone know how to automatically install modules when login after database creation?

By
vadivel
on 7/19/16, 12:44 AM 233 views

Hi everyone.I m working odoo v8.I need an idea for achieving certain modules installation automatically, when login into database on first time login.Is any code or module available for this.Please share your ideas.Thanks in advance

0

set 'auto_install' : True, in __openerp__.py file.

here is explain, how is it work this keyword in __openerp__.py file.

auto_install (bool, default: False)

If True, this module will automatically be installed if all of its dependencies are installed.

It is generally used for "link modules" implementing synergic integration between two otherwise independent modules.

For instance sale_crm depends on both sale and crm and is set to auto_install. When both sale and crm are installed, it automatically adds CRM campaigns tracking to sale orders without either sale or crm being aware of one another

Ok..but is it possible to trigger module installation when login for first time.

For example:

I will define or give input as particular modules list for installation on user login and that particular modules have to be installed.Here possible to trigger installation trigger for particular list of modules?

vadivel
on 7/19/16, 3:01 AM
0

Ermin Trevisan

--Ermin Trevisan--
3524
| 6 3 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 7/19/16, 1:18 AM

Set the autoinstall parameter to TRUE in the __openerp__.py file of the module.

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: 7/19/16, 12:44 AM
Seen: 233 times
Last updated: 7/19/16, 2:53 AM