[FIX] beauty_parlor: prevent error when opening the Contact Us page#2479
Closed
fw-bot wants to merge 1 commit into
Closed
Conversation
Currently, an error occurs when opening the Contact Us page. Steps to Reproduce: - Install the beauty_parlor with demo data. - Go to Website > Contact Us. ValueError: Element '<xpath expr="//section[@data-snippet='s_title'][1]/span">' cannot be located in parent view This error started occurring in saas-19.1 after [commit] that reworked the Contact Us page to better showcase the capabilities of the website builder. As part of that change, the section was modified, but the code still references an XPath [1] that no longer exists in the main view. As a result, opening the Contact Us page raises this error. This commit replaces the default website aside image with a beauty parlor related image, similar to what was done [here], since the banner is no longer used in the main view. [1]: https://github.com/odoo/industry/blob/22cac5a9fc54f33ed99fd924c962b35f4bd5f1f5/beauty_parlor/demo/website_view.xml#L8-L10 [here]: odoo@de71da8 sentry-7336372498 X-original-commit: 94a4140
Collaborator
Author
|
This PR targets saas-19.3 and is part of the forward-port chain. Further PRs will be created up to master. More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port |
robodoo
pushed a commit
that referenced
this pull request
Jul 3, 2026
Currently, an error occurs when opening the Contact Us page. Steps to Reproduce: - Install the beauty_parlor with demo data. - Go to Website > Contact Us. ValueError: Element '<xpath expr="//section[@data-snippet='s_title'][1]/span">' cannot be located in parent view This error started occurring in saas-19.1 after [commit] that reworked the Contact Us page to better showcase the capabilities of the website builder. As part of that change, the section was modified, but the code still references an XPath [1] that no longer exists in the main view. As a result, opening the Contact Us page raises this error. This commit replaces the default website aside image with a beauty parlor related image, similar to what was done [here], since the banner is no longer used in the main view. [1]: https://github.com/odoo/industry/blob/22cac5a9fc54f33ed99fd924c962b35f4bd5f1f5/beauty_parlor/demo/website_view.xml#L8-L10 [here]: de71da8 sentry-7336372498 closes #2479 X-original-commit: 94a4140 Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Currently, an error occurs when opening the Contact Us page.
Steps to Reproduce:
beauty_parlorwith demo data.Website>Contact Us.ValueError: Element '<xpath expr="//section[@data-snippet='s_title'][1]/span">' cannot be located in parent viewThis error started occurring in saas-19.1 after commit that reworked the Contact Us page to better
showcase the capabilities of the website builder. As part of that change, the section was modified,
but the code still references an XPath [1] that no longer exists in the main view. As a result, opening
the Contact Us page raises this error.
This commit replaces the default website aside image with a beauty parlor related image, similar to
what was done here, since the banner is no longer used in the main view.
[1]-
industry/beauty_parlor/demo/website_view.xml
Lines 8 to 10 in 22cac5a
sentry-7336372498
Forward-Port-Of: #2461