Skip to content

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Feb 13, 2025

Having no country on a portal user would cause attempting to edit personal information through the portal to have an internal server error.

Added a check to country_id to ensure that the country_id is a numerical value before casting to an int to avoid this internal server error.

opw-4309159

Forward-Port-Of: #186374

Having no country on a portal user would cause attempting to edit
personal information through the portal to have an internal server
error.

Removed the necessity for country to be set when submitting through the
portal when partner cannot edit vat.

opw-4309159

X-original-commit: a5d33e6
@robodoo
Copy link
Contributor

robodoo commented Feb 13, 2025

Pull request status dashboard

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Feb 13, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 13, 2025

@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Feb 13, 2025
@awa-odoo
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Feb 13, 2025
Having no country on a portal user would cause attempting to edit
personal information through the portal to have an internal server
error.

Removed the necessity for country to be set when submitting through the
portal when partner cannot edit vat.

opw-4309159

closes #197595

X-original-commit: a5d33e6
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
@robodoo robodoo added the 18.2 label Feb 13, 2025
@robodoo robodoo closed this Feb 13, 2025
@fw-bot fw-bot deleted the master-17.0-opw-4309159-ryce-415965-fw branch February 27, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
18.2 forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants