[IMP] Improve for total of stock inventory

bzr revid: jco@openerp.com-20140326163025-aa63t3oz62atznzj
This commit is contained in:
Josse Colpaert 2014-03-26 17:30:25 +01:00
parent af1d4acba3
commit c91379260d
1 changed files with 15 additions and 4 deletions

View File

@ -35,7 +35,7 @@
<th><strong>Product</strong></th>
<th><strong>Production Lot</strong></th>
<th><strong>Package</strong></th>
<th><strong>Quantity</strong></th>
<th class="text-right"><strong>Quantity</strong></th>
</tr>
</thead>
<tr t-foreach="o.line_ids" t-as="line">
@ -43,13 +43,24 @@
<td><span t-field="line.product_id"/></td>
<td><span t-field="line.prod_lot_id"/></td>
<td><span t-field="line.package_id"/></td>
<td><span t-field="line.product_qty"/> <span t-field="line.product_uom" groups="product.group_uom"/></td>
<td class="text-right"><span t-field="line.product_qty"/> <span t-field="line.product_uom" groups="product.group_uom"/></td>
</tr>
<tr>
<td><span t-field="o.total_qty"/></td>
<td></td>
</tr>
</table>
<div class="row">
<div class="col-xs-4 pull-right">
<table class="table table-condensed">
<tr class="border-black">
<td><strong>Total Quantity</strong></td>
<td class="text-right">
<span t-field="o.total_qty"/>
</td>
</tr>
</table>
</div>
</div>
</div>
</t>
</t>