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

By default, the prefix for the themes is "theme_" but in the odoo tutorial 16 it says that the prefix is "website_" but the default theme is named theme_default



https://www.odoo.com/documentation/16.0/developer/howtos/website_themes/theming.html#global

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

Hi,

The documentation seems to be outdated and as usual eventually it will get updated one day. Anyway the theme modules are expected to start with theme_ in odoo. 

Regarding the misleading documentation, seems you have reported it in right place:  https://github.com/odoo/documentation/issues/4767 and odoo will do necessary.


Thanks

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

​Hi,

Themes usually start with prefix ‘theme_’, but that’s not what treat them as theme. What treat them as theme is when we give the category ‘Website/Theme’. When you check the App Store, you can see many themes which doesn’t follow the naming convention.

อวตาร
ละทิ้ง
ผู้เขียน

You are parcial Rigth the category is for split the assets by website

and the pre_fix theme is to split the views by website

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 23
1985
1
ก.ย. 23
3731
Creating a new Theme Odoo v16 แก้ไขแล้ว
2
พ.ค. 23
3627
1
เม.ย. 23
6950
3
ส.ค. 25
2836