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

I did some changes on a model, adding some reports. But after updating the modul via odoo 'app' panel, there is no changes at all. Not even a 'print' button. Assuming my code isn't wrong (cause I checked everything), I wonder if it's indispensable to use odoo-bin -u [modul_name] command?

Extra question, can I upgrade a module without this command ?

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

Hi Daniel:

Both of them do the same thing. Make sure you follow the following steps while updating through the app:

  1. Restart Odoo after you have copied your changes into the addons or extra addons directory.

  2. Log into Odoo as an administrator user.

  3. Go to Settings > General Settings, and Activate the developer mode 

  4. Go to Apps and click on Update Apps List 

  5. Search for your custom module and install/upgrade it.

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

You can update module either user interface or using command in terminal.

Restart server is required in both cases, If python file any code added.

After restarting server, you can update module in user interface.

Or

Using command terminal update module, server stop and update module below command

./odoo-bin -u module_name -d database_name

can I upgrade a module without this command ?

Yes you can update the module without command. using user interface but restart odoo server is required.


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
odoo 13 upgrade to odoo 17 แก้ไขแล้ว
1
พ.ย. 24
1117
1
มิ.ย. 20
3699
1
ก.พ. 23
2972
0
ก.พ. 21
1544
2
ต.ค. 20
6380