Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
50352 มุมมอง

Hi, how to upgrade module from command line in V13 CE all in one set up?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

From Maduka Sopulu Christopher

\Open windows terminal / run in vscode terminal 

Navigate to the path of odoo-bin

then run  \python.exe odoo-bin -d databasename -u module_name -c odoo.conf
i.e \
c:\Program Files\Odoo \\"\ rel\=\"ugc\"\>14.0.20210116\server> python.exe odoo-bin -d databasename -u module_name -c odoo.conf

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Dhivya,

This still works the same as in old versions, by using the -u command. For example, if you have an app named "sales_management" and an app named "project_management" you would do:

./odoo-bin -u sales_management,project_management -c /etc/odoo-server.conf

Alternatively you can stop and start your Odoo instance, update the apps list from Apps > Update apps" and by then clicking on "Update" in the app itself.
You can find more information about the command line options in the official documentation

Regards,
Yenthe

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

As per the previous versions you can upgrade the module through the terminal and PyCharm(if you are using the PyCharm IDE.

Example:

./odoo-bin -c /path/path/config_file.conf -d database -u module_name

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can use this commande
cd odoo-server/

./odoo-bin -c /etc/odoo-server.conf -d data_base_name -u module_name

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

It worked in windows odoo14 community edition.  Make sure to the dbname, modulename and the .conf file path for the community edition.

python odoo-bin -d databasename-u modulename -c debian/odoo.conf --stop-after-init

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 21
5033
2
มิ.ย. 24
6330
2
พ.ค. 24
6520
2
มี.ค. 24
1323
1
ธ.ค. 22
9012