Skip to content

[19.0] web_company_color: forward ports from 18.0 - #3765

Merged
OCA-git-bot merged 9 commits into
OCA:19.0from
ForgeFlow:19.0-port-from-18.0-web_company_color
Oct 29, 2026
Merged

OCA-git-bot merged 9 commits into
OCA:19.0from
ForgeFlow:19.0-port-from-18.0-web_company_color

Conversation

@oca-cla-bot

This comment was marked as resolved.

@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor Author

@MarwanBHL can you check the CLA?

@MarwanBHL

Copy link
Copy Markdown
Contributor

@MarwanBHL can you check the CLA?

Done !

@pedrobaeza pedrobaeza added this to the 19.0 milestone Oct 28, 2026
@CarlosRoca13

Copy link
Copy Markdown

Can you add this changes? #3759

Carlos Roca added 2 commits October 29, 2026 10:58
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.
@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor Author

Can you add this changes? #3759

Done.

@CarlosRoca13

Copy link
Copy Markdown

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 19.0-ocabot-merge-pr-3765-by-CarlosRoca13-bump-patch, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

It looks like something changed on 19.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 19.0-ocabot-merge-pr-3765-by-CarlosRoca13-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit b036f27 into OCA:19.0 Oct 29, 2026
10 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at ee1c6fd. Thanks a lot for contributing to OCA. ❤️

@MiquelRForgeFlow
MiquelRForgeFlow deleted the 19.0-port-from-18.0-web_company_color branch October 30, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants