Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4393 Visualizações

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
Cancelar
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".

Melhor resposta

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
Cancelar

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.

Publicações relacionadas Respostas Visualizações Atividade
0
jun. 24
5
2
jul. 25
2309
1
mar. 24
1477
0
mar. 24
1699
1
jul. 23
2939