Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
0295134
[ADD] web_widget_dropdown_dynamic
alexey-pelykh Sep 11, 2019
9ba5d2b
[IMP] web_widget_dropdown_dynamic: black, isort, prettier
alexey-pelykh Apr 12, 2020
d547858
[MIG] web_widget_dropdown_dynamic: Migration to 13.0
alexey-pelykh Apr 12, 2020
fb45fca
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
ad8f608
Added translation using Weblate (Spanish)
claudiagn Feb 17, 2021
f258caa
[IMP] web_widget_dropdown_dynamic: black, isort, prettier
May 28, 2021
95399a1
[MIG] web_widget_dropdown_dynamic: Migration to 14.0
May 28, 2021
e17fd42
Added translation using Weblate (German)
Corneliuus Oct 13, 2021
76e0a1f
[IMP] web_widget_dropdown_dynamic: black, isort, prettier
BankyKmitl Nov 30, 2021
a3a2b8d
[MIG] web_widget_dropdown_dynamic: Migration to 15.0
BankyKmitl Dec 1, 2021
2c88ebd
[16.0][MIG] web_widget_dropdown_dynamic
gbrito Mar 28, 2023
1cc9489
[16.0][MIG]web_widget_dropdown_dynamic: Migrate to version 16.0
Jul 6, 2023
4c9fb07
Added translation using Weblate (Italian)
mymage Nov 27, 2023
054905c
[IMP] web_widget_dropdown_dynamic: pre-commit auto fixes
Aug 12, 2024
76f9527
[MIG] web_widget_dropdown_dynamic: Migration to 17.0
Aug 13, 2024
df489f2
Translated using Weblate (Italian)
mymage Aug 14, 2024
6ae5c31
[MIG] web_widget_dropdown_dynamic: Migration to 18.0
BhaveshHeliconia Dec 23, 2024
a47b0d9
[IMP] web_widget_dropdown_dynamic: Remove QUnit import from tests
JasminSForgeFlow Apr 1, 2025
5eed219
[IMP] web_widget_dropdown_dynamic: license change
Jun 5, 2025
4305cba
Added translation using Weblate (Turkish)
bo-eska Sep 16, 2025
d47000a
Translated using Weblate (Spanish)
Ed-Spain Apr 13, 2026
1574e68
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
7bee3d3
[12.0][ADD] web_company_color (#1253)
Tardo May 23, 2019
f59b137
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
e4c3380
[FIX] web_company_color: changed scss sanitized values
Tardo Sep 7, 2019
343c5c8
Added translation using Weblate (Croatian)
badbole Nov 18, 2019
bddf46a
[IMP] web_company_color: black, isort, prettier
Tardo Mar 19, 2020
baca09f
[MIG] web_widget_color: Migration to 13.0
Tardo Mar 19, 2020
7db0f99
Added translation using Weblate (Italian)
alessandro-fiorino May 16, 2020
9a2b599
Added translation using Weblate (Dutch)
tarteo Nov 11, 2020
05aec0e
[FIX] web_company_color: Resilient tests
pedrobaeza Dec 7, 2020
65d86d6
[MIG] web_company_color: Migration to 14.0
ozono Jan 21, 2021
bc1af76
Added translation using Weblate (German)
Corneliuus Oct 13, 2021
be38415
Added translation using Weblate (Catalan)
ofonseca-pyming Nov 18, 2021
b932342
[IMP] web_company_color: black, isort, prettier
BernatPForgeFlow Dec 22, 2021
2f05db6
[MIG] web_company_color: Migration to 15.0
BernatPForgeFlow Dec 23, 2021
5b9f093
[FIX] web_company_color: Recalculated color when we do not want
Mar 3, 2022
a930af3
Translated using Weblate (German)
NICO-SOLUTIONS Dec 9, 2022
eb918ea
[MIG] web_company_color: Migration to 16.0
LoisRForgeFlow Jun 7, 2023
8b21e7e
[FIX] web_company_color: unaligned button view
dsolanki-initos Jun 13, 2023
267a2a1
[IMP] web_company_color: Support button and link customizing
hbrunn Apr 10, 2021
d0cbc14
Update scss selectors after JQuery3 Update
HekkiMelody Jul 6, 2022
0dbc68e
Translated using Weblate (Dutch)
Jan-Onestein Aug 7, 2023
67f7023
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
be08b69
[FIX] web_company_color: Changing just one color fixed
EvaSForgeFlow Aug 30, 2023
f932882
Added translation using Weblate (French)
remi-filament Nov 6, 2023
3f8239f
Translated using Weblate (Italian)
mymage Nov 27, 2023
78665e4
Added translation using Weblate (Portuguese)
peterromao Jan 29, 2024
412d049
[FIX] web_company_color: Set defaults hardcoded to avoid errors charg…
Jul 30, 2024
cba2511
[FIX] web_company_color: Colors where not shown correctly
etobella Oct 4, 2024
df9f453
[IMP] web_company_color: pre-commit auto fixes
ArnauCForgeFlow Dec 17, 2024
9abb3c4
[MIG] web_company_color: Migration to 17.0
ArnauCForgeFlow Dec 18, 2024
a0f9ab4
[IMP] web_company_color: apply colors in debug assets and edit menu c…
ThiagoMForgeFlow Jan 8, 2025
f298bc1
[IMP] web_company_color: change menu systray colors
ThiagoMForgeFlow Jan 21, 2025
6cbea7d
Translated using Weblate (Spanish)
macagua Feb 6, 2025
1f59c5d
[MIG] web_company_color: Migration to version 18.0
pilarvargas-tecnativa Feb 27, 2025
b67d009
[FIX] web_company_color: fix navbar buttons color
ArnauCForgeFlow Apr 30, 2025
835ce93
Translated using Weblate (French)
timbreckx May 7, 2025
443e9ea
[FIX] web_company_color: fix systray icon color
ArnauCForgeFlow Sep 1, 2025
07f4ceb
[FIX] web_company_color: show company colors from active company
ArnauCForgeFlow Sep 4, 2025
bd6725f
[IMP] web_company_color: mobile systray button
DavidJForgeFlow Oct 14, 2025
bc992e4
[MIG] web_company_color: Migration to 19.0
BhaveshHeliconia Oct 17, 2025
fdcf5f6
Merge PR #3326 into 19.0
OCA-git-bot Oct 7, 2026
fd06d57
[UPD] Update web_company_color.pot
Oct 7, 2026
d885629
[BOT] post-merge updates
OCA-git-bot Oct 7, 2026
bae84e7
[MIG] web_widget_dropdown_dynamic: Migration to 19.0
Jul 22, 2026
6085541
Merge PR #3617 into 19.0
OCA-git-bot Oct 7, 2026
da129fa
[UPD] Update web_widget_dropdown_dynamic.pot
Oct 7, 2026
ae1d09b
[BOT] post-merge updates
OCA-git-bot Oct 7, 2026
702117b
[FIX] web_favicon: use sanitized cids cookie
remi-filament Nov 17, 2025
39ce194
Merge PR #3701 into 19.0
OCA-git-bot Oct 8, 2026
a3cc332
[BOT] post-merge updates
OCA-git-bot Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ addon | version | maintainers | summary
--- | --- | --- | ---
[web_calendar_slot_duration](web_calendar_slot_duration/) | 19.0.1.0.0 | <a href='https://github.com/Yajo'><img src='https://github.com/Yajo.png' width='32' height='32' style='border-radius:50%;' alt='Yajo'/></a> | Customizable calendar slot durations
[web_chatter_position](web_chatter_position/) | 19.0.1.0.0 | <a href='https://github.com/trisdoan'><img src='https://github.com/trisdoan.png' width='32' height='32' style='border-radius:50%;' alt='trisdoan'/></a> | Add an option to change the chatter position
[web_company_color](web_company_color/) | 19.0.1.0.0 | | Web Company Color
[web_company_context_highlight](web_company_context_highlight/) | 19.0.1.0.0 | <a href='https://github.com/pverkest'><img src='https://github.com/pverkest.png' width='32' height='32' style='border-radius:50%;' alt='pverkest'/></a> | Highlight the company switcher when multiple companies are selected
[web_dark_mode](web_dark_mode/) | 19.0.1.0.0 | | Enabled Dark Mode for the Odoo Backend
[web_date_format_numeric](web_date_format_numeric/) | 19.0.1.0.0 | | Display all date/datetime fields in numeric format
[web_dialog_size](web_dialog_size/) | 19.0.1.0.2 | | A module that lets the user expand a dialog box to the full screen width.
[web_editor_class_selector](web_editor_class_selector/) | 19.0.1.0.0 | <a href='https://github.com/carlos-lopez-tecnativa'><img src='https://github.com/carlos-lopez-tecnativa.png' width='32' height='32' style='border-radius:50%;' alt='carlos-lopez-tecnativa'/></a> | Web editor class selector
[web_environment_ribbon](web_environment_ribbon/) | 19.0.1.0.0 | | Web Environment Ribbon
[web_favicon](web_favicon/) | 19.0.1.0.0 | | Allows to set a custom shortcut icon (aka favicon)
[web_favicon](web_favicon/) | 19.0.1.0.1 | | Allows to set a custom shortcut icon (aka favicon)
[web_form_banner](web_form_banner/) | 19.0.1.0.0 | <a href='https://github.com/yostashiro'><img src='https://github.com/yostashiro.png' width='32' height='32' style='border-radius:50%;' alt='yostashiro'/></a> <a href='https://github.com/aungkokolin1997'><img src='https://github.com/aungkokolin1997.png' width='32' height='32' style='border-radius:50%;' alt='aungkokolin1997'/></a> | Show configurable, rule-based alert banners on backend form views
[web_group_expand](web_group_expand/) | 19.0.1.0.0 | | Group Expand Buttons
[web_ir_actions_act_multi](web_ir_actions_act_multi/) | 19.0.1.0.0 | | Enables triggering of more than one action on ActionManager
Expand All @@ -50,6 +51,7 @@ addon | version | maintainers | summary
[web_tree_many2one_clickable](web_tree_many2one_clickable/) | 19.0.1.0.0 | | Open the linked resource when clicking on their name
[web_widget_bokeh_chart](web_widget_bokeh_chart/) | 19.0.1.0.1 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> <a href='https://github.com/JasminSForgeFlow'><img src='https://github.com/JasminSForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='JasminSForgeFlow'/></a> | This widget allows to display charts using Bokeh library.
[web_widget_domain_editor_dialog](web_widget_domain_editor_dialog/) | 19.0.1.0.0 | | Recovers the Domain Editor Dialog functionality
[web_widget_dropdown_dynamic](web_widget_dropdown_dynamic/) | 19.0.1.0.0 | | This module adds support for dynamic dropdown widget
[web_widget_numeric_step](web_widget_numeric_step/) | 19.0.1.0.0 | <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> <a href='https://github.com/yajo'><img src='https://github.com/yajo.png' width='32' height='32' style='border-radius:50%;' alt='yajo'/></a> | Web Widget Numeric Step
[web_widget_one2many_tree_line_duplicate](web_widget_one2many_tree_line_duplicate/) | 19.0.1.0.1 | | Web Widget One2many Tree Line Duplicate
[web_widget_product_label_section_and_note_full_label](web_widget_product_label_section_and_note_full_label/) | 19.0.1.0.0 | | Display the full label in the product_label_section_and_note widget.
Expand Down
4 changes: 3 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[project]
name = "odoo-addons-oca-web"
version = "19.0.20260922.0"
version = "19.0.20261007.1"
dependencies = [
"odoo-addon-web_calendar_slot_duration==19.0.*",
"odoo-addon-web_chatter_position==19.0.*",
"odoo-addon-web_company_color==19.0.*",
"odoo-addon-web_company_context_highlight==19.0.*",
"odoo-addon-web_dark_mode==19.0.*",
"odoo-addon-web_date_format_numeric==19.0.*",
Expand Down Expand Up @@ -31,6 +32,7 @@ dependencies = [
"odoo-addon-web_tree_many2one_clickable==19.0.*",
"odoo-addon-web_widget_bokeh_chart==19.0.*",
"odoo-addon-web_widget_domain_editor_dialog==19.0.*",
"odoo-addon-web_widget_dropdown_dynamic==19.0.*",
"odoo-addon-web_widget_numeric_step==19.0.*",
"odoo-addon-web_widget_one2many_tree_line_duplicate==19.0.*",
"odoo-addon-web_widget_product_label_section_and_note_full_label==19.0.*",
Expand Down
108 changes: 108 additions & 0 deletions web_company_color/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=================
Web Company Color
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:238dbb5fcd4a1b17f5fb8c0663c60295a2c26b9162bb189a92cb5b26de1ba1ba
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/19.0/web_company_color
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_company_color
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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

**Table of contents**

.. contents::
:local:

Usage
=====

Go to company record and set a logo. Can see/modify applied colors on
the "Navbar" section.

For optimal results use images with alpha channel.

Known issues / Roadmap
======================

White color is omitted in the addition operation to support images
without alpha channel.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_company_color%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Alexandre Díaz

Contributors
------------

- Jordi Ballester Alomar <jordi.ballester@forgeflow.com> (ForgeFlow)
- Lois Rilo <lois.rilo@forgeflow.com> (ForgeFlow)
- Simone Orsi <simone.orsi@camptocamp.com>
- Iván Antón <ozono@ozonomultimedia.com>
- Bernat Puig <bernat.puig@forgeflow.com> (ForgeFlow)
- Dhara Solanki <dhara.solanki@initos.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Jairo Llopis
- Alexandre Díaz
- Carlos Roca

- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/19.0/web_company_color>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions web_company_color/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from .hooks import post_init_hook, uninstall_hook
from . import utils
18 changes: 18 additions & 0 deletions web_company_color/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Odoo, Open Source Web Company Color
# Copyright (C) 2019 Alexandre Díaz <dev@redneboa.es>
#
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).#
{
"name": "Web Company Color",
"category": "web",
"version": "19.0.1.0.0",
"author": "Alexandre Díaz, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"depends": ["web", "base_sparse_field"],
"data": ["view/assets.xml", "view/res_company.xml"],
"uninstall_hook": "uninstall_hook",
"post_init_hook": "post_init_hook",
"license": "AGPL-3",
"auto_install": False,
"installable": True,
}
12 changes: 12 additions & 0 deletions web_company_color/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2019 Alexandre Díaz <dev@redneboa.es>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from .models.res_company import URL_BASE


def uninstall_hook(env):
env["ir.attachment"].search([("url", "=like", f"{URL_BASE}%")]).unlink()


def post_init_hook(env):
env["res.company"].search([]).scss_create_or_update_attachment()
106 changes: 106 additions & 0 deletions web_company_color/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_company_color
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-11-18 17:36+0000\n"
"Last-Translator: Dept. Técnico <tecnico@extrememicro.es>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: web_company_color
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
msgid ""
"<span class=\"fa fa-info fa-2x me-2\"/>\n"
" In order for the changes to take effect, please "
"refresh\n"
" the page."
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
msgid "Button Background Color"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
msgid "Button Background Color Hover"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
msgid "Button Text Color"
msgstr ""

#. module: web_company_color
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
msgid "Colors"
msgstr ""

#. module: web_company_color
#: model:ir.model,name:web_company_color.model_res_company
msgid "Companies"
msgstr "Companyies"

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__company_colors
msgid "Company Colors"
msgstr ""

#. module: web_company_color
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
msgid "Company Styles"
msgstr ""

#. module: web_company_color
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
msgid "Compute colors from logo"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
msgid "Link Text Color"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
msgid "Link Text Color Hover"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
msgid "Navbar Background Color"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg_hover
msgid "Navbar Background Color Hover"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
msgid "Navbar Text Color"
msgstr ""

#. module: web_company_color
#: model:ir.model,name:web_company_color.model_ir_qweb
msgid "Qweb"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
msgid "SCSS Modif. Timestamp"
msgstr ""

#. module: web_company_color
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_submenu_text
msgid "Submenu Text Color"
msgstr ""
Loading
Loading