Skip to content

Commit

Permalink
[MIG] website_sale_require_login: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carolina-domatix committed Jun 11, 2024
1 parent 733df99 commit 18dcd95
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 3 additions & 0 deletions website_sale_require_login/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ Contributors

* Reinier Quevedo <[email protected]>

* `Domatix <https://domatix.com>`_:
* Carolina Ferrer

Maintainers
~~~~~~~~~~~

Expand Down
3 changes: 3 additions & 0 deletions website_sale_require_login/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
* Carlos Roca

* Reinier Quevedo <[email protected]>

* `Domatix <https://domatix.com>`_:
* Carolina Ferrer
2 changes: 2 additions & 0 deletions website_sale_require_login/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
</ul>
</li>
<li>Reinier Quevedo &lt;<a class="reference external" href="mailto:reinier&#64;mykubux.com">reinier&#64;mykubux.com</a>&gt;</li>
<li><a class="reference external" href="https://domatix.com">Domatix</a>:
* Carolina Ferrer</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
10 changes: 2 additions & 8 deletions website_sale_require_login/views/website_sale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@
/>
</xpath>
<xpath
expr="//div[hasclass('oe_cart')]//a[@href='/shop/checkout?express=1']"
position="attributes"
>
<attribute name="t-if">not hide_checkout_button</attribute>
</xpath>
<xpath
expr="//div[hasclass('col-12','col-xl-4')]//a[@href='/shop/checkout?express=1']"
expr="//div[hasclass('oe_cart')]//a[@t-attf-href='{{redirect_url}}']"
position="attributes"
>
<attribute name="t-if">not hide_checkout_button</attribute>
Expand All @@ -32,7 +26,7 @@
inherit_id="website_sale.short_cart_summary"
customize_show="True"
>
<xpath expr="//a[@href='/shop/checkout?express=1']" position="attributes">
<xpath expr="//a[@t-attf-href='{{redirect_url}}']" position="attributes">
<attribute name="t-if">not hide_checkout_button</attribute>
</xpath>
</template>
Expand Down

0 comments on commit 18dcd95

Please sign in to comment.