[FIX] website_sale: In the shopping cart + in the shopping summary (order in front end) + in the confirm page, the internal reference should not be displayed
This commit is contained in:
@@ -613,7 +613,7 @@
|
||||
<td t-if="line.product_id.product_tmpl_id">
|
||||
<div>
|
||||
<a t-attf-href="/shop/product/#{ slug(line.product_id.product_tmpl_id) }">
|
||||
<strong t-esc="line.product_id.name_get()[0][1]"/>
|
||||
<strong t-esc="line.product_id.with_context(display_default_code=False).display_name"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="text-muted" t-field="line.name"/>
|
||||
@@ -981,7 +981,7 @@
|
||||
</a>
|
||||
</td>
|
||||
<td t-if="line.product_id.product_tmpl_id">
|
||||
<strong t-field="line.product_id.name"/>
|
||||
<strong t-field="line.product_id.with_context(display_default_code=False).display_name"/>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<span t-field="line.price_unit" style="white-space: nowrap;" t-field-options='{
|
||||
@@ -1105,7 +1105,7 @@
|
||||
<td>
|
||||
<div>
|
||||
<a t-attf-href="/shop/product/#{ slug(line.product_id.product_tmpl_id) }">
|
||||
<strong t-esc="line.product_id.name_get()[0][1]"/>
|
||||
<strong t-esc="line.product_id.with_context(display_default_code=False).display_name"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="text-muted" t-field="line.name"/>
|
||||
|
||||
Reference in New Issue
Block a user