Commit Graph

14 Commits

Author SHA1 Message Date
Carlos Roca
4787203433 [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-07-31 11:12:31 +02:00
OCA-git-bot
238d43c925 Merge PR #2534 into 16.0
Signed-off-by dreispt
2023-11-06 12:04:01 +00:00
EvaSForgeFlow
88cdb64506 [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.
2023-09-20 12:31:17 +02:00
Alessandro Uffreduzzi
5e2b8c42b7 Update scss selectors after JQuery3 Update
See upstream commit: 0bc24a78a2
2023-06-17 21:10:31 +02:00
Holger Brunn
9a585eab85 [IMP] web_company_color: Support button and link customizing 2023-06-17 21:10:23 +02:00
Lois Rilo
b2f3be7271 [MIG] web_company_color: Migration to 16.0 2023-06-09 13:14:34 +02:00
CarlosRoca13
d16dc29334 [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
2023-06-07 12:51:06 +02:00
Bernat Puig Font
b4dfc4942a [MIG] web_company_color: Migration to 15.0 2023-06-07 12:51:06 +02:00
Bernat Puig Font
add28d652b [IMP] web_company_color: black, isort, prettier 2023-06-07 12:51:06 +02:00
Francisco Ivan Anton Prieto
628a1ec0e9 [MIG] web_company_color: Migration to 14.0 2023-06-07 12:51:06 +02:00
Alexandre Díaz
4d48b3fb8c [MIG] web_widget_color: Migration to 13.0 2023-06-07 12:51:06 +02:00
Alexandre Díaz
e3e6bcd570 [IMP] web_company_color: black, isort, prettier 2023-06-07 12:51:06 +02:00
Alexandre Díaz
071c75c73b [FIX] web_company_color: changed scss sanitized values 2023-06-07 12:51:06 +02:00
Alexandre Díaz
5d342281d8 [12.0][ADD] web_company_color (#1253) 2023-06-07 12:51:06 +02:00