Skip to content

[17.0][FIX] web_responsive: declare _assets_primary_variables as a list - #3740

Merged
OCA-git-bot merged 2 commits into
OCA:17.0from
heligrafics:17.0-fix-bundle-list
Oct 19, 2026
Merged

OCA-git-bot merged 2 commits into
OCA:17.0from
heligrafics:17.0-fix-bundle-list

Conversation

@zamberjo

Copy link
Copy Markdown
Member

web._assets_primary_variables was declared with {...}, which is a Python set, not a list. Odoo iterates it without complaining, but a set of strings has no stable order (string hashing is randomized per process), so the order of the two SCSS files in the bundle can change between restarts or workers.

Every other bundle in the manifest, and in Odoo itself, uses a list.

The same set is present in 18.0 and 19.0. Once this is merged I'll forward-port it there. From what I can see, this has been fixed in the migration to version 20.0

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-3740-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit b6fbdc1 into OCA:17.0 Oct 19, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.

5 participants