소스 검색

Módulo para factura y nota legal de conecta5

SEBAS 6 달 전
부모
커밋
4e07313fae
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      factura_venta_conecta5.xml

+ 2 - 4
factura_venta_conecta5.xml

@@ -20,7 +20,7 @@
                     <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.5' if i == 2 else ('2.55' 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.1' if i == 2 else ('2.20' if i == 3 else '0')) + 'cm;'">
 
                             <style type="text/css">
                                 .campo{position:absolute; font-size:10px;}
@@ -48,9 +48,7 @@
 
                             <!-- Cliente: Nombre y RUC -->
                             <div class="campo" style="top:0.7cm; left:4.5cm; width:19cm;">
-                                <t t-if="o.partner_id.street">
-                                    <span t-field="o.partner_id.name"/>
-                                </t>
+                                <span t-field="o.partner_id.name"/>
                                 <span style="position:absolute; left:11.7cm;">
                                     <span t-field="o.partner_id.ruc"/>
                                 </span>