[FIX] nfu_ecommerce: comment out Max Quantity heading

This commit is contained in:
Niels Göttsch 2025-04-30 21:54:36 +02:00 committed by madmooose
parent dc1030645f
commit f8389b24ea

View file

@ -213,23 +213,25 @@
</template> </template>
<template id="configure_optional_products" inherit_id="sale_product_configurator.configure_optional_products"> <template id="configure_optional_products" inherit_id="sale_product_configurator.configure_optional_products">
<!-- TodDo: Add Batch qtys to order modal
<xpath expr="//td[hasclass('css_quantity')]" position="before"> <xpath expr="//td[hasclass('css_quantity')]" position="before">
<!-- TODO: Add Batch qtys to order modal
<div> <div>
<t t-out="custom_attribute.batch_id.id"/> <t t-out="custom_attribute.batch_id.id"/>
&#40;+<t t-out="round(line.batch_product_id.open_packaging_qty*10)/10"/>&#41; &#40;+<t t-out="round(line.batch_product_id.open_packaging_qty*10)/10"/>&#41;
</div> </div>
</xpath> --> -->
</xpath>
<!-- TODO: Add JS part
<xpath expr="//th[hasclass('td-qty')]" position="after"> <xpath expr="//th[hasclass('td-qty')]" position="after">
<th class="text-center td-max-qty"><span class='label'>Max Quantity</span></th> <th class="text-center td-max-qty"><span class='label'>Max Quantity</span></th>
</xpath> </xpath>
<xpath expr="//td[hasclass('td-qty')]" position="after"> <xpath expr="//td[hasclass('td-qty')]" position="after">
<!-- TODO: Add JS part
<td class="text-center td-max-qty"> <td class="text-center td-max-qty">
<t t-call='nfu_ecommerce.product_max_quantity_config'/> <t t-call='nfu_ecommerce.product_max_quantity_config'/>
</td> --> </td>
</xpath> </xpath>
-->
</template> </template>
<template id="cart_hide_checkout_button" inherit_id="website_sale.cart"> <template id="cart_hide_checkout_button" inherit_id="website_sale.cart">
<!-- TODO: Introduce flag --> <!-- TODO: Introduce flag -->