Skip to content

[6278][IMP] website_form_partner_specific_user_account: reflect oca changes#104

Merged
kanda999 merged 5 commits into
15.0from
6278-imp_website_form_partner_specific_user_account
Feb 4, 2026
Merged

[6278][IMP] website_form_partner_specific_user_account: reflect oca changes#104
kanda999 merged 5 commits into
15.0from
6278-imp_website_form_partner_specific_user_account

Conversation

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor Author

I realized some tests case of this module is not compatible with partner_company_default like checking False case for company when restrict_partner_to_company of website is False.

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor Author

I realized some tests case of this module is not compatible with partner_company_default like checking False case for company when restrict_partner_to_company of website is False.

Fixed in my last commit.

Copy link
Copy Markdown
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 Thanks. Please relay the update to the OCA PR.

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor Author

@yostashiro There is a bug in the previous logic and I updated. Please review my last commit.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 6278-imp_website_form_partner_specific_user_account branch from d11c506 to 486d3df Compare January 29, 2026 09:22
Copy link
Copy Markdown
Contributor

@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: LGTM

Comment thread website_form_partner_specific_user_account/controllers/main.py Outdated
Copy link
Copy Markdown
Contributor

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

LGTM: Code review

Copy link
Copy Markdown
Contributor

@kanda999 kanda999 left a comment

Choose a reason for hiding this comment

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

LGTM

@kanda999 kanda999 merged commit 460e74a into 15.0 Feb 4, 2026
2 checks passed
if website.restrict_partner_to_company:
vals["company_id"] = website.company_id.id
website_partner = Partner.create(vals)
if website_partner:
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.

I think we should have removed this condition.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes. I will follow up this.

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.

4 participants