Просмотр исходного кода

Módulo para factura y nota legal de conecta5

SEBAS 6 месяцев назад
Родитель
Сommit
9044239bdc
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      factura_venta_conecta5.xml

+ 8 - 8
factura_venta_conecta5.xml

@@ -20,38 +20,38 @@
                     <t t-foreach="[1,2,3]" t-as="i">
 
                         <!-- Cada copia ocupa ~8.8cm de alto (3x8.8 + 3cm margen = 29.7cm) -->
-                        <div class="copia"  t-att-style="'position:relative; height:8.8cm; width:100%; page-break-inside:avoid; margin-top:' + ('2.3' if i == 2 else ('2' if i == 3 else '0')) + 'cm;'">
+                        <div class="copia"  t-att-style="'position:relative; height:8.8cm; width:100%; page-break-inside:avoid; margin-top:' + ('2.2' if i == 2 else ('2' if i == 2.8 else '0')) + 'cm;'">
 
                             <style type="text/css">
                                 .campo{position:absolute; font-size:10px;}
                                 .detalle{position:absolute; top:3.6cm; left:1.2cm; width:19cm; font-size:10px; line-height:0.47cm;color:red;}
-                                .total_pagar_data{position:absolute; top:6.1cm; left:2.9cm; width:14cm;}
+                                .total_pagar_data{position:absolute; top:6.1cm; left:3.2cm; width:14cm;}
                                 .total_pagar{position:absolute; top:6.1cm; right:1.3cm; text-align:right; width:6cm;color:red;}
                                 .iva_5_data{position:absolute; top:7.4cm; left:7.1cm; width:3cm; text-align:right;color:red;}
                                 .iva_10_data{position:absolute; top:7.4cm; left:9.4cm; width:3cm; text-align:right;color:red;}
-                                .iva_total_data{position:absolute; top:7.4cm; left:14.9cm; width:3cm; text-align:right;color:red;}
+                                .iva_total_data{position:absolute; top:7.4cm; left:15.1cm; width:3cm; text-align:right;color:red;}
                                 .xmark{position:absolute; font-weight:bold; font-size:12px;color:red;}
                             </style>
 
                             <!-- Fecha de emisión -->
-                            <div class="campo" style="top:0.1cm; left:3.7cm;">
+                            <div class="campo" style="top:0.2cm; left:3.7cm;">
                                 <span t-field="o.date_invoice" t-field-options='{"format":"dd MMM yyyy"}'/>
                             </div>
 
                             <!-- Condición de venta (Contado / Crédito) -->
-                            <div class="xmark" style="top:0.1cm; left:17.8cm;">
+                            <div class="xmark" style="top:0.2cm; left:17.8cm;">
                                 <t t-if="o.contado">X</t>
                             </div>
-                            <div class="xmark" style="top:0.1cm; left:18.4cm;">
+                            <div class="xmark" style="top:0.2cm; left:18.4cm;">
                                 <t t-if="o.credito">X</t>
                             </div>
 
                             <!-- Cliente: Nombre y RUC -->
-                            <div class="campo" style="top:0.5cm; left:3.7cm; width:19cm;">
+                            <div class="campo" style="top:0.5cm; left:3.9cm; width:19cm;">
                                 <t t-if="o.partner_id.street">
                                     <span t-field="o.partner_id.name"/>
                                 </t>
-                                <span style="position:absolute; left:12.9cm;">
+                                <span style="position:absolute; left:12.5cm;">
                                     <span t-field="o.partner_id.ruc"/>
                                 </span>
                             </div>