-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][FIX] website_legal_page: footer xpath #1018
Conversation
LGTM! |
15e5fc6
to
b407a2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@@ -8,7 +8,7 @@ | |||
customize_show="True" | |||
> | |||
<xpath | |||
expr="//footer//div/span[hasclass('o_footer_copyright_name')]" | |||
expr="//footer//div//span[hasclass('o_footer_copyright_name')]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A non-blocking suggestion.
expr="//footer//div//span[hasclass('o_footer_copyright_name')]" | |
expr="//footer//span[hasclass('o_footer_copyright_name')]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that well, I tried to reduce diff to ease merge, but the important thing here is an HTML class inside element footer
. Thanks!
In some cases, Odoo wraps original span inside another span for translation, so this change allows it to be found eitherwise.
b407a2d
to
249aa31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge minor
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at e79c8a8. Thanks a lot for contributing to OCA. ❤️ |
In some cases, Odoo wraps original span inside another span for translation making view fail. This change allows it to be found eitherwise.
Steps to reproduce:
Reproduced on runboat, website My Website - 1018