1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?xml version="1.0" encoding="utf-8" ?>
- <openerp>
- <data>
- <report id="action_report_eiruclaims"
- model="mrp.report"
- string="MRP Report"
- report_type="qweb-pdf"
- file="eirumrp_reports.mrp_pdf"
- name="eirumrp_reports.mrp_pdf"
- />
- <template id="mrp_pdf">
- <t t-call="report.html_container">
- <t t-call="report.internal_layout">
- <div class="page">
- <div class="header" style="text-align:left;"><h1><strong>Informes órdenes de producción</strong></h1></div>
- <div class="row mt32 mb32" style="text-align:left;">
- <div class="col-xs-12">
- <h3> <strong> <p t-esc="res_company.name"/></strong></h3>
- <strong>Fecha informe:</strong>
- <p t-esc="get_date()"/>
- </div>
- </div>
- <table class="table table-condensed">
- <thead>
- <tr >
- <th style="background-color:#9b9da0 !important;">Referencia</th>
- <th style="background-color:#9b9da0 !important;">Imagen</th>
- <th style="background-color:#9b9da0 !important;">Producto</th>
- <th style="background-color:#9b9da0 !important;">Cantidad</th>
- <th style="background-color:#9b9da0 !important;">Unidad</th>
- <th style="background-color:#9b9da0 !important;">Costo unitario</th>
- <th style="background-color:#9b9da0 !important;">Costo prod.</th>
- <th style="background-color:#9b9da0 !important;">Responsable</th>
- <th style="background-color:#9b9da0 !important;">Fecha inicio</th>
- <th style="background-color:#9b9da0 !important;">Estado</th>
- </tr>
- </thead>
- <tbody>
- <t t-foreach="get_details(data)" t-as="o">
- <tr>
- <td>
- <span t-esc="o.name"/>
- </td>
- <td>
- <img t-if="o.product_id.image_medium" t-att-src="'data:image/png;base64,%s' % o.product_id.image_medium" style="max-height: 40px;"/>
- </td>
- <td>
- <span t-esc="o.product_id.name"/>
- </td>
- <td>
- <span t-esc="o.product_qty"/>
- </td>
- <td>
- <span t-esc="o.product_uom.name"/>
- </td>
- <td>
- <span t-esc="o.prod_price_unit"/>
- </td>
- <td>
- <span t-esc="o.product_price"/>
- </td>
- <td>
- <span t-esc="o.user_id.name"/>
- </td>
- <td>
- <span t-esc="o.date_planned"/>
- </td>
- <td>
- <span t-esc="o.state"/>
- </td>
- </tr>
- </t>
- </tbody>
- </table>
- </div>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|