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

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>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
2393
2
ก.ค. 25
7886
2
ก.ค. 25
4292
2
ก.ค. 25
4030
2
มิ.ย. 25
2636