Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5181 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 24
1109
1
thg 6 20
3689
1
thg 2 23
2963
0
thg 2 21
1535
2
thg 10 20
6368