Skip to content

Syncing from upstream OCA/e-commerce (19.0) - #1003

Merged
bt-admin merged 15 commits into
brain-tec:19.0from
OCA:19.0
Aug 26, 2026
Merged

Syncing from upstream OCA/e-commerce (19.0)#1003
bt-admin merged 15 commits into
brain-tec:19.0from
OCA:19.0

Conversation

@bt-admin

Copy link
Copy Markdown

bt_gitbot

pablohmontenegro and others added 15 commits August 20, 2026 07:50
Avoid replacing `website_ids` from the `website_id` inverse.

In this addon, `website_ids` is the source of truth and `website_id`
is kept as a computed compatibility field containing the first assigned
website.

The previous inverse replaced the full `website_ids` relation with the
single `website_id` value. This could silently drop website assignments
when editing `website_ids` or when legacy code wrote directly on
`website_id`.

Make the inverse non-destructive by adding the written `website_id` to
`website_ids` instead of replacing the whole relation.

TT61624
…to product snippets

Dynamic product snippets, such as alternative products, build their product
domain through website.website_domain(). This only takes website_id into
account by default, so products assigned to the current website through
website_ids were not shown.

Apply the existing multi_website_domain context when products are searched for
snippets, and clear it again before rendering product values to avoid leaking
that product-specific domain to other models rendered later in the same flow.

TT62939
Currently translated at 100.0% (7 of 7 strings)

Translation: e-commerce-17.0/e-commerce-17.0-website_sale_product_multi_website
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-17-0/e-commerce-17-0-website_sale_product_multi_website/it/
Signed-off-by pedrobaeza
@bt-admin bt-admin added the 19.0 label Aug 26, 2026
@bt-admin
bt-admin merged commit 7ac207a into brain-tec:19.0 Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants