コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4404 ビュー

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
6月 24
5
2
7月 25
2374
1
3月 24
1549
0
3月 24
1735
1
7月 23
2965