Skip to content

[FIX] beauty_parlor: prevent error when opening the Contact Us page#2479

Closed
fw-bot wants to merge 1 commit into
odoo:saas-19.3from
odoo-dev:saas-19.3-saas-19.1-sentry-7336372498-beauty-parlor-assh-542159-fw
Closed

[FIX] beauty_parlor: prevent error when opening the Contact Us page#2479
fw-bot wants to merge 1 commit into
odoo:saas-19.3from
odoo-dev:saas-19.3-saas-19.1-sentry-7336372498-beauty-parlor-assh-542159-fw

Conversation

@fw-bot

@fw-bot fw-bot commented Jul 2, 2026

Copy link
Copy Markdown

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]-

<xpath expr="//section[@data-snippet='s_title'][1]/span" position="attributes">
<attribute name="style">background-image: url('/https/github.com/web/image/beauty_parlor.ir_attachment_1167'); background-position: 50% 0px;</attribute>
</xpath>

sentry-7336372498

Forward-Port-Of: #2461

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

robodoo commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

@fw-bot

fw-bot commented Jul 2, 2026

Copy link
Copy Markdown
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>
@robodoo robodoo closed this Jul 3, 2026
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.

3 participants