Commit Graph

16 Commits

Author SHA1 Message Date
ThiagoMForgeFlow
e56871c3d1 [IMP] web_company_color: apply colors in debug assets and edit menu colors
Allow each company's colors to be visible when running in debug assets mode. Fix the menu colors so they don't look like hyperlinks.
2025-01-09 10:06:12 +01:00
ArnauCForgeFlow
b0ce15419a [MIG] web_company_color: Migration to 17.0 2025-01-08 09:34:14 +01:00
Enric Tobella
12e7f33d78 [FIX] web_company_color: Colors where not shown correctly 2024-12-17 09:42:56 +01:00
Carlos Roca
3ace7bb45f [FIX] web_company_color: Set defaults hardcoded to avoid errors charging the assetbundle
When trying to charge the assetbundle the theme-color("primary") function
is not found what causes problems when trying to set the default values.

With this changes the default value is the value set on ad9f8fae71/addons/web/static/src/scss/primary_variables.scss (L55)
this change avoid the problems and the module works fine.

Addapted too the class for required fields.
2024-12-17 09:42:56 +01:00
EvaSForgeFlow
23238138d6 [FIX] web_company_color: Changing just one color fixed
Before it didn't work if just a color was set because it couldn't find "color_navbar_bg_hover".
Moreover, in odoo enterprise the navbar background color only worked for the main app menu,
now it works for both main app menu and the navbar of the apps.
2024-12-17 09:42:56 +01:00
Alessandro Uffreduzzi
974aca59b5 Update scss selectors after JQuery3 Update
See upstream commit: 0bc24a78a2
2024-12-17 09:42:56 +01:00
Holger Brunn
330df41778 [IMP] web_company_color: Support button and link customizing 2024-12-17 09:42:56 +01:00
Lois Rilo
68129c6951 [MIG] web_company_color: Migration to 16.0 2024-12-17 09:42:56 +01:00
CarlosRoca13
1372c499b5 [FIX] web_company_color: Recalculated color when we do not want
If we change something with base.document.layout wizard, this will launch the colors computing even without changing the logo. This procedure will change the value of the colors if they were set by hand.

This change forces the user to press a button to recompute the colors and avoid possible undesired changes.

TT34902
2024-12-17 09:42:56 +01:00
Bernat Puig Font
1d2dd83ca3 [MIG] web_company_color: Migration to 15.0 2024-12-17 09:42:56 +01:00
Bernat Puig Font
fd51a779b7 [IMP] web_company_color: black, isort, prettier 2024-12-17 09:42:56 +01:00
Francisco Ivan Anton Prieto
6aee076c96 [MIG] web_company_color: Migration to 14.0 2024-12-17 09:42:56 +01:00
Alexandre Díaz
aedae6b9b6 [MIG] web_widget_color: Migration to 13.0 2024-12-17 09:42:56 +01:00
Alexandre Díaz
2c6226a8ef [IMP] web_company_color: black, isort, prettier 2024-12-17 09:42:56 +01:00
Alexandre Díaz
f50d2d73d4 [FIX] web_company_color: changed scss sanitized values 2024-12-17 09:42:56 +01:00
Alexandre Díaz
4e4c6a1d9f [12.0][ADD] web_company_color (#1253) 2024-12-17 09:42:56 +01:00