123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <!-- Vista del informe -->
- <report
- id="report_orden_servicio"
- model="orden.servicio"
- string="Orden de Servicio Report"
- report_type="qweb-pdf"
- name="orden_servicio.report_orden_servicio1"
- file="orden_servicio.report_orden_servicio1"
- attachment_use="False"
- />
- <!-- Plantilla del informe en formato PDF -->
- <template id="report_orden_servicio1">
- <t t-call="report.html_container">
- <t t-foreach="docs" t-as="o">
- <t t-call="report.external_layout">
- <div class="page">
- <h2>Orden de Servicio</h2>
- <table class="table table-condensed">
- <thead>
- <tr>
- <th>Referencia</th>
- <th>Cliente</th>
- <th>Fecha Orden</th>
- <th>Obra</th>
- <th>Fecha Inic.</th>
- <th>Fecha Fin</th>
- <th>T. Costo Obra</th>
- <th>Estado</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><span t-field="o.name"/></td>
- <td><span t-field="o.partner_id.name"/></td>
- <td><span t-field="o.order_date"/></td>
- <td><span t-field="o.name_obra"/></td>
- <td><span t-field="o.planned_start_date"/></td>
- <td><span t-field="o.planned_end_date"/></td>
- <td><span t-field="o.total_obra"/></td>
- <td><span t-field="o.state"/></td>
- </tr>
- </tbody>
- </table>
- </div>
- </t>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|