[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:
Christophe Matthieu
2015-02-16 16:42:47 +01:00
parent 3b2f65407b
commit eeb24d5e6d
+3 -3
View File
@@ -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"/>