Repository navigation
[18.0][FIX] web_company_color: avoid showing other company's colors and apply all configured colors correctly - #3759
Conversation
The company scss link was added inside the methods whose result is stored by ormcache (`_generate_asset_links_cache` / `_generate_asset_links`). The cache key does not depend on the company, and the override changed the cached list in place with `+=`. Each request added its company scss to the shared list, so the colors shown were those of the last company added in that worker. Now the company scss is added in `_get_asset_links`, which is not cached, and a new list is returned without changing the cached one.
|
Please check CI |
d2e088f to
594cca7
Compare
|
Solved @pedrobaeza |
pedrobaeza
left a comment
There was a problem hiding this comment.
It seems you have nailed the problem!
Tested and so far no glitches found.
594cca7 to
8249715
Compare
|
Hi @ljmnoonan can you check if it correct now? Thanks 😄 |
|
Text is good now, but it has introduced another slight problem: 2026-10-28.06-50-32.mp4While doing this, btw, I noticed another small inconsistency which is not related to your changes. Changing the colors and saving triggers a page reload, but resetting them does not. |
8249715 to
e7bf1d6
Compare
|
Solved both problems 😄 |
|
Very nice! |
|
/ocabot merge patch Please fw-port it |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at b73d45a. Thanks a lot for contributing to OCA. ❤️ |



cc @Tecnativa TT60199
ping @pedrobaeza @carlos-lopez-tecnativa