Commit 37a97743 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_advanced_ecommerce: product is considering always available to sell

parent f44f3e53
......@@ -91,7 +91,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<div class="clear"></div>
<br/>
<tal:block tal:define="is_unavailable python: here.Resource_getInventoryStatus(request.get('variation', None)) == 'UNAVAILABLE'">
<!--tal:block tal:define="is_unavailable python: here.Resource_getInventoryStatus(request.get('variation', None)) == 'UNAVAILABLE'"-->
<tal:block tal:define="is_unavailable python: False">
<tal:block tal:define="field nocall:form/your_buy_quantity"
tal:condition="python: not is_unavailable">
<tal:block metal:use-macro="field_render" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment