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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4355
查看
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
|
2200 | ||
|
1
3月 24
|
1431 | ||
|
0
3月 24
|
1661 | ||
|
1
7月 23
|
2876 |
Thanks for your answer @Jordi. I did what u said and now all modules i defined as depencency are marked as "To be installed".