[IMP] web: UX improvement on mobile for the sale order view

This commit is contained in:
Deep Patel
2017-09-15 11:16:11 +02:00
committed by fwi-odoo
parent a7fa3cc436
commit 1c0befc8a6
+13 -5
View File
@@ -342,23 +342,31 @@
<field name="product_uom_qty"/>
<field name="product_uom" groups="product.group_uom"/>
<field name="price_subtotal"/>
<field name="price_unit"/>
<templates>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_card oe_kanban_global_click">
<div class="row">
<div class="col-xs-12">
<div class="col-xs-8">
<strong><span><t t-esc="record.product_id.value"/></span></strong>
</div>
<div class="col-xs-4">
<strong><span class="pull-right text-right">
<t t-esc="record.price_subtotal.value"/></span></strong>
</div>
</div>
<div class="row">
<div class="col-xs-8 text-muted">
<span><t t-esc="record.product_uom_qty.value"/> <t t-esc="record.product_uom.value"/></span>
<div class="col-xs-12 text-muted">
<span>Quantity: <t t-esc="record.product_uom_qty.value"/> <t t-esc="record.product_uom.value"/></span>
</div>
<div class="col-xs-4 text-muted">
<span class="pull-right text-right"><t t-esc="record.price_subtotal.value"/></span>
</div>
<div class="row">
<div class="col-xs-12 text-muted">
<span>Unit Price: <t t-esc="record.price_unit.value"/></span>
</div>
</div>
</div>
<hr/>
</t>
</templates>
</kanban>