Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4354 Weergaven

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
Annuleer
Auteur

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

Beste antwoord

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
Annuleer

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
0
jun. 24
5
2
jul. 25
2200
1
mrt. 24
1431
0
mrt. 24
1661
1
jul. 23
2875