Skip to Content
Menú
This question has been flagged
1 Respondre
4357 Vistes

I want to write a module that only installs some other modules, so it should be a collection of some own modules. How can I realize that? Do I have to use dependencies in this module? An example would be very nice, thanks.

Avatar
Descartar
Autor

Thanks for your answer @Jordi. I did what u said and now all modules i defined as depencency are marked as "To be installed".

Best Answer

Yes, just use the 'depends' in file '__openerp__.py referencing the other modules that you want to install automatically when this one is installed.

Regards,

Jordi Ballester

www.eficent.com

Avatar
Descartar

Yes, this is right but it will make problem when any one of module having error.

Solanki, not sure that I understand. That's precisely what Odoo does with the so-called 'Apps'. They are modules bundled using dependencies.

Related Posts Respostes Vistes Activitat
0
de juny 24
5
2
de jul. 25
2209
1
de març 24
1437
0
de març 24
1677
1
de jul. 23
2882