Skip to content

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

Closed
fw-bot wants to merge 1 commit into
odoo:masterfrom
odoo-dev:master-saas-19.1-sentry-7336372498-beauty-parlor-assh-542350-fw
Closed

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

Conversation

@fw-bot

@fw-bot fw-bot commented Jul 3, 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 3, 2026

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

@vava-odoo

Copy link
Copy Markdown
Collaborator

@robodoo override=ci/industry
@robodoo r+

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 #2482

X-original-commit: 94a4140
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
@robodoo robodoo added the 19.5 label Jul 3, 2026
@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.

4 participants