* web, web_editor, website, website_theme_install, portal, theme_default, theme_bootswatch The purpose of this task is to make the customize dialog as generic as possible, that is theme-independant: 1) The design is now totally generic (Odoo visuals) 2) The XML definition is form-view like. This allows themes to extend the dialog without any risk of breaking the style and also allows to not care about lots of technical details. 3) New options have been included. Those were themes options that are now generic and which themes can simply adapt without touching the customize modal (navbar colors, footer color, navbar layout, fonts, body background, ...). The color palette can now also be customized with user colors. Using sass functionnalities, color palettes and fonts integration is now a lot better. Thanks to @qha-odoo for the original design. task-31677
16 lines
549 B
XML
16 lines
549 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="action_website" model="ir.actions.act_url">
|
|
<field name="name">Website</field>
|
|
<field name="url">/</field>
|
|
<field name="target">self</field>
|
|
</record>
|
|
<record id="base.open_menu" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_website"/>
|
|
<field name="state">open</field>
|
|
</record>
|
|
|
|
<record id="website_theme_install.customize_modal" model="ir.ui.view">
|
|
<field name="active" eval="False"/>
|
|
</record>
|
|
</odoo> |