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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
2
回复
2707
查看
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
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
2
7月 25
|
3991 | ||
|
|
2
11月 16
|
6796 | ||
|
|
3
2月 16
|
17669 | ||
|
|
1
3月 15
|
5249 | ||
|
|
3
3月 15
|
10575 |