Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
6230 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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?

Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
січ. 25
22994
4
бер. 16
4877
2
лют. 16
3403
0
бер. 25
4338
1
вер. 15
3879