viewodoothemesdocumentationodoo-17

How can i customize odoo 17 views, like colors, modify the base icons


I want to customize the odoo 17 base theme, to create a customized environment, is there any documentation about it? cause in the odoo documentation there is no info about it.

I donwloaded anoter theme and got the code, but i really want to know the basics and where those things come from.


Solution

  • Below are the steps to customize base icons: Customize odoo 17 views - Base icons In Odoo site,

    1. Activate the developer mode - To enable developer mode, go to Settings and click on the “Activate Developer Mode” option at the bottom of the page.
    2. Navigate to Settings -> Technical -> User Interface -> Menu items
    3. Locate and access the menu where the icon needs to be updated.
    4. Click on edit button in “Web Icon Image” Field and upload new Icon.
    5. Save and Refresh page.

    In Code,

    1. Open the base module which the icon has to be changed.
    2. Navigate to static -> description.
    3. Replace the icon.png with another icon. Note : Keep file name as “icon.png”.Don't change the filename.

    Below is one of the way to customize themes: Customize the theme using third-party module. Module Name : MuK Backend Theme

    1. Install Muk Backend Theme Module from odoo app store.
    2. Add modules in odoo base code.
    3. Activate the module in odoo page and theme will automatically change once the module is loaded

    For Customizing colours:

    1. Navigate to Settings -> General Settings page.
    2. Search “Backend Theme”.