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 27, 2023
1 parent a56c2a1 commit 249aa31
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//span[hasclass('o_footer_copyright_name')]"
position="after"
>
<span class="legal_page">-
Expand Down

0 comments on commit 249aa31

Please sign in to comment.