diff options
| author | Richard Mathot <rim@odoo.com> | 2017-05-11 18:17:35 +0200 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2017-05-11 18:18:25 +0200 |
| commit | d994f51c6045636bb7ca2dfe5fb8d361f498de0f (patch) | |
| tree | df70a09c4a5ef37bf52aaf47ed4ff0b1313cc963 | |
| parent | 7fc788b6945d08871d69f2831eea8fcfdd9afe10 (diff) | |
[FIX] website_sale: hide horizontal rule if there is no availability warning
| -rw-r--r-- | addons/website_sale/views/templates.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 659a84e4748..ccea1b72e27 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -457,7 +457,7 @@ <a id="add_to_cart" class="btn btn-primary btn-lg mt8 js_check_product a-submit" href="#">Add to Cart</a> </div> </form> - <hr /> + <hr t-if="product.availability != 'empty'"/> <div t-if="product.availability == 'in_stock'" class="alert alert-success"> <span class="fa fa-check" /> <span>In Stock</span> |
