Skip to content

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

Open
MiquelRForgeFlow wants to merge 9 commits into
OCA:19.0from
ForgeFlow:19.0-port-from-18.0-web_company_color
Open

MiquelRForgeFlow wants to merge 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

@MarwanBHL can you check the CLA?

Done !

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

Copy link
Copy Markdown
Contributor

Can you add this changes? #3759

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
Contributor

/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.

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