I setup all of my custom modules in a specific folder, and I linked it to github so that every github push, the folder on the server gets updated, but I want to update the modules and I don't want to specify a module name or a database name.
Is there a odoo command to upgrade all modules in a specific folder, and moreover, is there a way to omit the database name so that it uses the default one?
Câu hỏi này đã bị gắn cờ
2
Trả lời
3780
Lượt xem
Hi,
Odoo cannot upgrade modules by folder, only by module name.
Odoo always needs a database; there is no automatic default unless you set one.
To upgrade all installed modules, use:
odoo-bin -u all -d your_db
This will also upgrade your custom modules if they are installed.
This is the simplest and closest way to what you want in Odoo.
Hope it helps.
odoo-bin -u all
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 | |
|---|---|---|---|---|
|
|
2
thg 7 25
|
5187 | ||
|
|
2
thg 11 16
|
7747 | ||
|
|
3
thg 2 16
|
18877 | ||
|
|
1
thg 3 15
|
6222 | ||
|
|
3
thg 3 15
|
11584 |