소스 검색

Módulo para factura y nota legal de conecta5

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

+ 1 - 2
factura_venta_conecta5.xml

@@ -17,8 +17,7 @@
 
                     <!-- Tres copias en la misma hoja -->
                     <t t-foreach="[1,2,3]" t-as="i">
-                        <div class="copia" style="position:relative; height:9.7cm; width:100%; page-break-inside:avoid;">
-
+                      <div class="copia" t-att-style="'position:relative; height:9.7cm; width:100%; page-break-inside:avoid; margin-top:%scm;' % ('2' if i in [2,3] else '0')">
                             <style type="text/css">
                                 .campo{position:absolute; font-size:10px;}
                                 .detalle{position:absolute; top:3.6cm; left:1.2cm; width:19cm; font-size:9.5px; line-height:0.47cm;}