Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4358 Tampilan

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
Buang
Penulis

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

Jawaban Terbai

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
Buang

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 Terkait Replies Tampilan Aktivitas
0
Jun 24
5
2
Jul 25
2210
1
Mar 24
1441
0
Mar 24
1677
1
Jul 23
2882