تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4395 أدوات العرض

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.

الصورة الرمزية
إهمال
الكاتب

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

أفضل إجابة

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

الصورة الرمزية
إهمال

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يونيو 24
5
2
يوليو 25
2316
1
مارس 24
1478
0
مارس 24
1702
1
يوليو 23
2941