Skip to content

[15.0][ADD] website_form_partner_specific_user_account#1152

Open
AungKoKoLin1997 wants to merge 1 commit intoOCA:15.0from
qrtl:15.0-add-website_partner_search
Open

[15.0][ADD] website_form_partner_specific_user_account#1152
AungKoKoLin1997 wants to merge 1 commit intoOCA:15.0from
qrtl:15.0-add-website_partner_search

Conversation

@AungKoKoLin1997
Copy link

@AungKoKoLin1997 AungKoKoLin1997 commented Dec 25, 2025

This module is intended for use when the “Specific User Account” setting is enabled on a website.
It assigns the current website to partners used by website forms and ensures partner lookup and assignment are restricted to that website.

In standard Odoo, partner resolution from website forms does not consider the current website. When “Specific User Account” is enabled, this may result in a partner from another website being assigned if the same email address exists across multiple websites.

This module addresses this issue.

@qrtl QT6278

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch 2 times, most recently from 016567c to bb53c4a Compare December 25, 2025 11:04
@AungKoKoLin1997 AungKoKoLin1997 changed the title [15.0][ADD] website_partner_search [15.0][ADD] website_form_partner_website Dec 25, 2025
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from bb53c4a to 2fe3811 Compare December 25, 2025 11:14
@AungKoKoLin1997 AungKoKoLin1997 changed the title [15.0][ADD] website_form_partner_website [15.0][ADD] website_form_partner_specific_user_account Dec 25, 2025
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch 3 times, most recently from 5f71b73 to 0972ad5 Compare December 26, 2025 01:58
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from 0972ad5 to 83a6152 Compare January 5, 2026 05:10
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from 83a6152 to e7bfee9 Compare January 5, 2026 08:03
Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

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

@AungKoKoLin1997 Would you update tests as well?

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from e7bfee9 to 03f201a Compare January 6, 2026 02:00
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from 03f201a to 5658bfb Compare January 6, 2026 11:31
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from 5658bfb to 572abda Compare January 7, 2026 01:27
Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

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

Code review. LGTM.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from 572abda to 57e4c0b Compare January 13, 2026 09:15
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 15.0-add-website_partner_search branch from 57e4c0b to f88ce4e Compare February 5, 2026 01:23
nobuQuartile

This comment was marked as spam.

Copy link

@nobuQuartile nobuQuartile left a comment

Choose a reason for hiding this comment

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

Functional review and code review: LGTM

I reconfirmed that on websites where Restrict Partner To Company is set to True, contacts from other companies are not linked when a form is submitted.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

1 similar comment
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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.

4 participants