diff --git a/README.md b/README.md index d2d1c08e8d0f..7c08db370f9f 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ addon | version | maintainers | summary --- | --- | --- | --- [web_calendar_slot_duration](web_calendar_slot_duration/) | 17.0.1.0.0 | Yajo | Customizable calendar slot durations [web_chatter_position](web_chatter_position/) | 17.0.1.0.1 | trisdoan | Add an option to change the chatter position -[web_company_color](web_company_color/) | 17.0.1.2.1 | | Web Company Color +[web_company_color](web_company_color/) | 17.0.1.2.2 | | Web Company Color [web_dialog_size](web_dialog_size/) | 17.0.1.0.1 | | A module that lets the user expand a dialog box to the full screen width. [web_editor_class_selector](web_editor_class_selector/) | 17.0.1.1.0 | | Web editor class selector [web_environment_ribbon](web_environment_ribbon/) | 17.0.1.0.3 | | Web Environment Ribbon diff --git a/web_company_color/README.rst b/web_company_color/README.rst index 8906316ef7f5..2a7a18d406b1 100644 --- a/web_company_color/README.rst +++ b/web_company_color/README.rst @@ -11,7 +11,7 @@ Web Company Color !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:62405140d3524aab7dbf2ccc711a250068653d1e28d977b22e804b8c4a387de5 + !! source digest: sha256:a57b2e6dab71d71dd429d0b11f37098d23c221438f79d8435c5a312230c9e3a6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/web_company_color/__manifest__.py b/web_company_color/__manifest__.py index 63daba18c08d..990d9535ee2e 100644 --- a/web_company_color/__manifest__.py +++ b/web_company_color/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Web Company Color", "category": "web", - "version": "17.0.1.2.1", + "version": "17.0.1.2.2", "author": "Alexandre Díaz, Odoo Community Association (OCA)", "website": "https://github.com/OCA/web", "depends": ["web", "base_sparse_field"], diff --git a/web_company_color/models/res_company.py b/web_company_color/models/res_company.py index fc2baf5c6d11..35284cb98697 100644 --- a/web_company_color/models/res_company.py +++ b/web_company_color/models/res_company.py @@ -123,9 +123,9 @@ class ResCompany(models.Model): background-color: %(color_navbar_bg_hover)s !important; } } - .dropdown-item{ - color: %(color_submenu_text)s !important; - } + .o_main_navbar .dropdown-menu .dropdown-item:not(.o_menu_brand, .o_nav_entry) { + color: %(color_submenu_text)s !important; +} """ company_colors = fields.Serialized() diff --git a/web_company_color/static/description/index.html b/web_company_color/static/description/index.html index c03c124ba5d4..93d83808588a 100644 --- a/web_company_color/static/description/index.html +++ b/web_company_color/static/description/index.html @@ -372,7 +372,7 @@

Web Company Color

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:62405140d3524aab7dbf2ccc711a250068653d1e28d977b22e804b8c4a387de5 +!! source digest: sha256:a57b2e6dab71d71dd429d0b11f37098d23c221438f79d8435c5a312230c9e3a6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

This module change navbar colors based in the company logo colors.