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

Hi, 

I am new to odoo development. I am using windows 11 for odoo 16 development. I am able to use scaffold command to develop new module. However, I am unable to see the new module in the apps window. I tried changing the ports, but it did not work. I have also tried  Why doesn't my new Odoo module show up on the module list? - Stack Overflow but it did not work.     
Please guide how to sort this out?

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

Yes, the custom addon path is available in the conf file. I am using the addons folder in server folder to create custom addon.  addons_path = e:\odoo\odoo16\server\odoo\addons, E:\Odoo\Odoo16\server\school\

I first tried to create manual modules but that did not work. I thought I was doing something wrong. Therefore, I tried with scaffold command, the command does generate the code and for module, but it is not available in app list. 

Ảnh đại diện
Huỷ bỏ

It looks like your addons_path is wrong.
addons_path = e:\odoo\odoo16\server\odoo\addons, E:\Odoo\Odoo16\server\school\
Change this to:
addons_path = e:\odoo\odoo16\server\odoo\addons, e:\odoo\odoo16\server\school\
Please provide the correct path. It is case sensitive.

Tác giả

I first tried with lower case and then I changed it to upper case. In either way it is not picking up the new module.

Câu trả lời hay nhất

Hi,

On debug mode, and update the app list.

Also make sure that your custom addon path is mentioned in your conf file

For reference

https://www.odoo.com/documentation/16.0/developer/howtos/backend.html

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 23
2241
1
thg 11 24
47940
1
thg 4 24
2590
0
thg 10 23
2073
2
thg 9 23
3154