Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4665 Visualizzazioni

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
Abbandona
Autore

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

Risposta migliore

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
Abbandona

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.

Post correlati Risposte Visualizzazioni Attività
0
giu 24
5
2
lug 25
3085
1
mar 24
1881
0
mar 24
2123
1
lug 23
3346