Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4365 Widoki

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.

Awatar
Odrzuć
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".

Najlepsza odpowiedź

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

Awatar
Odrzuć

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.

Powiązane posty Odpowiedzi Widoki Czynność
0
cze 24
5
2
lip 25
2233
1
mar 24
1444
0
mar 24
1681
1
lip 23
2896