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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 6 24
|
5 | ||
|
2
thg 7 25
|
2389 | ||
|
1
thg 3 24
|
1557 | ||
|
0
thg 3 24
|
1743 | ||
|
1
thg 7 23
|
2973 |
Thanks for your answer @Jordi. I did what u said and now all modules i defined as depencency are marked as "To be installed".