Skip to Content
Menú
This question has been flagged
1 Respondre
4411 Vistes

Can be the unit of measure shown on the shopping cart in odoo8?

Avatar
Descartar
Best Answer

Yes you can. Just need to extends the template website_sale.cart
something like:

<template id="cart_instance" inherit_id="website_sale.cart" customize_show="True" name="Cart Inst">

<xpath expr="//table[@id='cart_products']/thead/tr/th[1]" position="after">

<th width="100">Unit of measure</th>

</xpath>

<xpath expr="//table[@id='cart_products']/tbody/t/tr/td[3]" position="after">

<td>

<span t-field="line.uom_id" style="white-space: nowrap;"/>

</td>

</xpath>

</template>

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de gen. 16
5842
11
de des. 18
10183
3
d’oct. 24
1970
1
d’oct. 24
1791
0
d’abr. 24
1925