Skip to content

Commit

Permalink
[FIX] website_legal_page: footer xpath
Browse files Browse the repository at this point in the history
In some cases, Odoo wraps original span inside another span for
translation, so this change allows it to be found eitherwise.
  • Loading branch information
danielduqma committed Nov 23, 2023
1 parent a56c2a1 commit b407a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website_legal_page/views/website_legal_main_page.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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')]"
position="after"
>
<span class="legal_page">-
Expand Down

0 comments on commit b407a2d

Please sign in to comment.