콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3592 화면

Odoo 14 Community Edition, default website theme, and I cannot change theme font size / color scheme / font family etc. When I go to Edit -> Options -> Theme Options, if I change the font size from 16 px to 20 px for example, I would see a spinning icon on the content area for 1 or 2 seconds, and then font size box will change back to 16 px, and nothing will change in the content area.

I tried uninstalled the website module and reinstalled and it is the same. I started a odoo run bot and the font size can be changed. What can I do to change the font size of the theme?

아바타
취소
작성자 베스트 답변


Settings -> Activate Developer Mode -> Technical -> Views, search View Architecture for "custom.web", there should be these two views:

/website/static/src/scss/options/colors/user_theme_color_palette.custom.web.assets_common.scss
/website/static/src/scss/options/user_values.custom.web.assets_common.scss

If they are not there, recreate them with values below will fix the issue, if they are there, then something else is wrong:

----------------------------------------------------
View Name
/website/static/src/scss/options/colors/user_theme_color_palette.custom.web.assets_common.scss

View Type
QWeb

Key
web_editor.scss_54e7fe

Sequence
16

Inherited View
_assets_primary_variables

View inheritance mode
Extension View

Architecture
<data inherit_id="website._assets_primary_variables" name="/website/static/src/scss/options/colors/user_theme_color_palette.custom.web.assets_common.scss">
<xpath expr="//link[@href='/website/static/src/scss/options/colors/user_theme_color_palette.scss']" position="attributes">
<attribute name="href">/website/static/src/scss/options/colors/user_theme_color_palette.custom.web.assets_common.scss</attribute>
</xpath>
</data>

--------------------------------------------------------------
View Name
/website/static/src/scss/options/user_values.custom.web.assets_common.scss

View Type
QWeb

Key
web_editor.scss_8e0d16

Sequence
16

Inherited View
_assets_primary_variables

View inheritance mode
Extension View

Architecture
<data inherit_id="website._assets_primary_variables" name="/website/static/src/scss/options/user_values.custom.web.assets_common.scss">
<xpath expr="//link[@href='/website/static/src/scss/options/user_values.scss']" position="attributes">
<attribute name="href">/website/static/src/scss/options/user_values.custom.web.assets_common.scss</attribute>
</xpath>
</data>

아바타
취소
관련 게시물 답글 화면 활동
3
9월 25
2658
0
8월 25
214
1
8월 25
2190
2
7월 25
8079
2
7월 25
4540