[FIX] website_sale : fix empty result message
before PR: when searching a product that doesn't exist in the shop, the error message "no results found for ..." appears, but when searching another failed product, we hit the cache and the same "..." is displayed. after PR: avoid using the cache for the empty results message opw-3496581 closes odoo/odoo#143611 X-original-commit: 545a6983146d7e1b0c03ec632c3db72116b1b744 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -409,7 +409,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div t-else="" class="text-center text-muted mt128 mb256">
|
||||
<div t-nocache="get the actual search" t-else="" class="text-center text-muted mt128 mb256">
|
||||
<t t-if="not search">
|
||||
<h3 class="mt8">No product defined</h3>
|
||||
<p t-if="category">No product defined in this category.</p>
|
||||
|
||||
Reference in New Issue
Block a user