Skip to content

Fork Sync Branch 19.0 - #236

Merged
btl-bot merged 30 commits into
BTLzdravtech:19.0from
OCA:19.0
Nov 5, 2026
Merged

btl-bot merged 30 commits into
BTLzdravtech:19.0from
OCA:19.0

Conversation

@btl-bot

@btl-bot btl-bot commented Nov 5, 2026

Copy link
Copy Markdown

No description provided.

anusriNPS and others added 30 commits October 28, 2026 18:17
   Using a function to fetch SCSS_TEMPLATE
Otherwise function calls are not evaluated in the created attachment
…ate` and `create_edit` options

Allow field-level overrides for Many2One and Many2Many fields, while always respecting security permissions. This provides more granular control over the "Create..." and "Create and Edit..." dropdown entries without compromising access control.
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.
Signed-off-by pedrobaeza
Signed-off-by CarlosRoca13
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-19.0/web-19.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_company_color/
Signed-off-by pedrobaeza
Currently translated at 100.0% (22 of 22 strings)

Translation: web-19.0/web-19.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_company_color/it/
Signed-off-by legalsylvain
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-19.0/web-19.0-web_form_banner
Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_form_banner/
Currently translated at 100.0% (60 of 60 strings)

Translation: web-19.0/web-19.0-web_form_banner
Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_form_banner/it/

@sireko sireko left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Auto approved

@btl-bot
btl-bot merged commit e89b925 into BTLzdravtech:19.0 Nov 5, 2026
3 of 4 checks passed
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
web_company_color/models/ir_qweb.py 100.00% <100.00%> (ø)
web_company_color/models/res_company.py 93.82% <100.00%> (+3.41%) ⬆️
web_company_color/tests/test_res_company.py 100.00% <100.00%> (ø)
web_company_color/utils.py 88.88% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.