コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2204 ビュー

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

関連投稿 返信 ビュー 活動
1
5月 23
1938
1
9月 23
3576
2
5月 23
3531
1
4月 23
6821
3
8月 25
2631