123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="ticket_orden_imperio"
- model="sale.order"
- string="Ticket"
- report_type="qweb-html"
- name="ticket_orden_imperio.report_ticket_ordenimperio"
- file="ticket_orden_imperio.report_ticket_ordenimperio"
- />
- <record id="paperformat_lowmargin" model="report.paperformat">
- <field name="name">Ticket Imperio</field>
- <field name="default" eval="True" />
- <field name="format">custom</field>
- <field name="page_height">150</field>
- <field name="page_width">60</field>
- <field name="orientation">Portrait</field>
- <field name="margin_top">3</field>
- <field name="margin_bottom">3</field>
- <field name="margin_left">3</field>
- <field name="margin_right">3</field>
- <field name="header_line" eval="False" />
- <field name="header_spacing">3</field>
- <field name="dpi">90</field>
- </record>
- <record id="ticket_orden_imperio.ticket_orden_imperio" model="ir.actions.report.xml">
- <field name="paperformat_id" ref="ticket_orden_imperio.paperformat_lowmargin" />
- </record>
- <template id="report_ticket_ordenimperio">
- <t t-call="report.html_container">
- <!-- <t t-foreach="[1,2,3]" t-as="i"> -->
- <div class="page">
- <style>
- .logo{
- height: 1.71cm;
- width: 100%;
- top: 0px;
- }
- .table-condensed>tbody>tr>td {
- padding: 1px !important;
- }
- .borderless td, .borderless th {
- border: none !important;
- }
- .logo1{
- height: 2.61cm;
- width: 100%;
- top: 0px;
- }
- .logo2{
- height: 3.30cm;
- width: 100%;
- top: 0px;
- }
- </style>
- <t t-foreach="docs" t-as="o">
- <div class="pagina">
- <div class="row">
- <div class="col-xs-4">
- <!--
- ======================================================================
- CABECERA
- ======================================================================
- -->
- <div style="height:1.5cm;">
- <div style="width:12cm;padding-top:0.4cm;padding-right:5.0cm;font-size:9.5px;font-family: Arial;text-align: center;">
- <div>
- <span t-field="o.date_order" t-options='{"format": "dd/mm/aaaa hh.mm.ss"}'/>
- </div>
- <div>
- <span t-field="o.name"/>-<span t-field="o.user_id"/>
- </div>
- </div>
- </div>
- <div style="height:1.0cm;">
- <div style="width:12cm;font-size:12px;font-family: Arial;padding-right:5.0cm;">
- <div style="text-align: center;">
- <b> FERRETERIA IMPERIO</b>
- </div>
- </div>
- </div>
- <div style="height:1.5cm;">
- <div style="width:12cm;padding-right:5.0cm;font-size:10.5px;font-family: Arial;">
- <div>
- &nbsp;&nbsp;
- <b>Cliente: </b><span t-field="o.partner_id.name"/>
- </div>
- <div>
- &nbsp;&nbsp;
- <b>C.I.Nº / R.U.C.: </b><span t-field="o.partner_id.ruc"/>
- </div>
- </div>
- </div>
- <div style="height:1.5cm;">
- <div style="width:12cm;padding-center:5.0cm;font-size:18.5px;font-family: Arial;">
- <div>
- <b>Nº: </b><span t-field="o.name"/>
- &nbsp;&nbsp;
- </div>
- </div>
- </div>
- <div style="height:1.5cm;">
- <div style="width:12cm;text-align: left;font-size:12.5px;font-family: Arial;">
- <div>
- <b>Monto: </b><span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
- </div>
- </div>
- </div>
- <div style="width:12cm;padding-right:5.0cm;text-align: left;font-size:10.5px;font-family: Arial;">
- <b>SOLICITE EN CAJA SU FACTURA LEGAL</b>
- </div>
- </div>
- </div>
- </div>
- </t>
- </div>
- </t>
- </template>
- </data>
- </openerp>
|