Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4412 Ansichten

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

Beste Antwort

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
Verwerfen

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.

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Juni 24
5
2
Juli 25
2414
1
März 24
1565
0
März 24
1746
1
Juli 23
2980