summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorfja-odoo <fja@odoo.com>2019-09-19 10:39:06 +0000
committerfw-bot <otis@odoo.com>2019-10-10 08:14:04 +0000
commit2f0832a6113237d59c719afea33a53f0af857aae (patch)
tree785e29556fc23ffabfaab5957faad4793b2433fd /addons
parent536b0b15235960eb7228e3c06ec0b511592f3910 (diff)
[FIX] website_sale: fix found count in product
The product count was not returned in the product page thus the search count feature that you can enable in the customize was broken. Now we reset the search in the product page. Part of https://github.com/odoo/odoo/pull/37135 task-2070507 X-original-commit: db5447f8cae4c7976fca8d751e2494cba73d2d5f
Diffstat (limited to 'addons')
-rw-r--r--addons/website_sale/views/templates.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml
index e3cd50abbb1..053c14be1f1 100644
--- a/addons/website_sale/views/templates.xml
+++ b/addons/website_sale/views/templates.xml
@@ -493,7 +493,9 @@
</div>
<div class="col-md-8">
<div class="form-inline justify-content-end">
- <t t-call="website_sale.search"/>
+ <t t-call="website_sale.search">
+ <t t-set="search" t-value="False"/>
+ </t>
<t t-call="website_sale.pricelist_list">
<t t-set="_classes">ml-2</t>
</t>