Skip to Content
Menu
This question has been flagged
1 Reply
4391 Views

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

Avatar
Discard
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
Discard
Related Posts Replies Views Activity
1
Jan 16
5808
11
Dec 18
10142
3
Oct 24
1891
1
Oct 24
1735
0
Apr 24
1855