website_search_products: fix warnings

This commit is contained in:
Luis 2026-02-03 18:55:55 +01:00
parent f1a3a75988
commit 46634fcdc0
2 changed files with 10 additions and 9 deletions

View file

@ -37,21 +37,21 @@
<t t-foreach="products" t-as="product">
<tr>
<td>
<span t-esc="product.name" />
<span t-out="product.name" />
</td>
<td>
<span t-esc="product.categ_id.name" />
<span t-out="product.categ_id.name" />
</td>
<td>
<span t-esc="product.list_price"
<span t-out="product.list_price"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" />
</td>
<td>
<span t-esc="product.sudo().qty_available"
<span t-out="product.sudo().qty_available"
t-options="{'widget': 'float', 'precision': 2}" />
</td>
<td>
<span t-esc="product.sudo().uom_id.name" />
<span t-out="product.sudo().uom_id.name" />
</td>
</tr>
</t>