Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4352 Zobrazení

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
Zrušit
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".

Nejlepší odpověď

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
Zrušit

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 Odpovědi Zobrazení Aktivita
0
čvn 24
5
2
čvc 25
2198
1
bře 24
1431
0
bře 24
1660
1
čvc 23
2874