1 <?xml version="1.0" encoding="utf-8"?>
4 <template id="report_inventory">
5 <t t-call="report.html_container">
6 <t t-foreach="docs" t-as="o">
7 <t t-call="report.external_layout">
13 <table class="table table-condensed">
16 <th><strong>Inventory</strong></th>
17 <th><strong>Date</strong></th>
23 <span t-field="o.name"/>
26 <span t-field="o.date"/>
31 <table class="table table-condensed">
34 <th><strong>Location</strong></th>
35 <th><strong>Product</strong></th>
36 <th><strong>Production Lot</strong></th>
37 <th><strong>Package</strong></th>
38 <th class="text-right"><strong>Quantity</strong></th>
41 <tr t-foreach="o.line_ids" t-as="line">
42 <td><span t-field="line.location_id"/></td>
43 <td><span t-field="line.product_id"/></td>
44 <td><span t-field="line.prod_lot_id"/></td>
45 <td><span t-field="line.package_id"/></td>
46 <td class="text-right"><span t-field="line.product_qty"/> <span t-field="line.product_uom_id" groups="product.group_uom"/></td>
52 <t t-if="o.filter == 'product' and o.product_id">
54 <div class="col-xs-4 pull-right">
55 <table class="table table-condensed">
56 <tr class="border-black">
57 <td><strong>Total Quantity</strong></td>
58 <td class="text-right">
59 <span t-field="o.total_qty"/> <span t-field="o.product_id.uom_id"/>