Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
2232 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Beste Antwort

​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.

Avatar
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Mai 23
1950
1
Sept. 23
3619
2
Mai 23
3569
1
Apr. 23
6864
3
Aug. 25
2723