voucher_report_bioelectric.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="report_voucher_document_bioelectric">
  5. <t t-call="report.html_container">
  6. <div class="page">
  7. <t t-foreach="[1,2]" t-as="i">
  8. <style type="text/css">
  9. body{
  10. font-size: 3mm;
  11. font-family: Arial, Helvetica, sans-serif;
  12. }
  13. div{
  14. padding: 0px;
  15. }
  16. .pagina{
  17. width:19.3cm;
  18. }
  19. .descripcion1{
  20. width: 11.2cm;
  21. font-size: 13px;
  22. padding-top: 0.2cm;
  23. padding-left: 0.5cm;
  24. float: left;
  25. min-height: 0cm;
  26. }
  27. .descripcion2{
  28. width: 13cm;
  29. font-size: 10px;
  30. float: left;
  31. padding-left: 0.5cm;
  32. min-height: 0cm;
  33. }
  34. .descripcion3{
  35. width: 15cm;
  36. font-size: 10px;
  37. float: left;
  38. padding-left: 0.5cm;
  39. min-height: 0cm;
  40. }
  41. .descripcion4{
  42. width: 15cm;
  43. font-size: 10px;
  44. padding-left: 0.5cm;
  45. float: left;
  46. min-height: 0cm;
  47. }
  48. .email{
  49. width: 13cm;
  50. font-size: 10px;
  51. float: left;
  52. padding-left: 0.5cm;
  53. min-height: 0cm;
  54. }
  55. .ciudad{
  56. width: 13cm;
  57. float: left;
  58. font-size: 10px;
  59. padding-left: 0.5cm;
  60. min-height: 0cm;
  61. }
  62. .tel{
  63. width: 13cm;
  64. float: left;
  65. font-size: 10px;
  66. padding-left: 0.5cm;
  67. min-height: 0cm;
  68. }
  69. .divisoria{
  70. height: 0.5cm;
  71. clear: both;
  72. }
  73. .divisoria2{
  74. height: 4cm;
  75. clear: both;
  76. }
  77. .divisoria3{
  78. height: 1cm;
  79. clear: both;
  80. }
  81. .divisoria5{
  82. width: 23cm;
  83. float: left;
  84. font-size: 11px;
  85. padding-left: 0.5cm;
  86. min-height: 0cm;
  87. }
  88. </style>
  89. <tr>
  90. <div class="descripcion1"><b>BIOELECTRIC</b></div>
  91. </tr>
  92. <tr>
  93. <div class="descripcion2"><b>SOLUCIONES ELECTROMECÁNICAS</b></div>
  94. </tr>
  95. <tr>
  96. <div class="descripcion3"><b>SERVICIOS ELÉCTRICOS 24 hs. - MONTAJES INDUSTRIALES - MONTAJES INDUSTRIALES</b></div>
  97. </tr>
  98. <tr>
  99. <div class="descripcion4"><b>AUTOMATIZACIONES - REFRIGERACIÓN, CCTV, SPLIT</b></div>
  100. </tr>
  101. <tr>
  102. <div class="email"><b>bioelectricpy@gmail.com</b></div>
  103. </tr>
  104. <tr>
  105. <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
  106. </tr>
  107. <tr>
  108. <div class="tel"><b>(0981) 939132 - (0984) 120 678</b></div>
  109. </tr>
  110. <div style="border:3px solid #ccc; border-radius:10px;">
  111. <h3 style="text-align:center;">
  112. <span t-if="o.type == 'receipt'"> Recibo de Cobro</span>
  113. <span t-if="o.type == 'payment'"> Recibo de Pago</span>
  114. <span t-if="o.number"> No. <span t-field="o.number"/></span>
  115. </h3>
  116. <div class="divisoria"></div>
  117. <div class="divisoria5">
  118. <div class="row">
  119. <div class="col-xs-9">
  120. <p><strong>
  121. <span t-if="o.type == 'receipt'"> Cobrado a:</span>
  122. <span t-if="o.type == 'payment'"> Pagado a:</span>
  123. </strong>
  124. <span t-field="o.partner_id"/> - Dirección:
  125. <span t-field="o.partner_id.contact_address"/></p>
  126. </div>
  127. <div class="col-xs-9">
  128. <p><strong>
  129. <span t-if="o.type == 'receipt'"> Cobrado por:</span>
  130. <span t-if="o.type == 'payment'"> Pagado por:</span>
  131. </strong>
  132. <span t-field="o.company_id"/> - Dirección:
  133. <span t-field="o.company_id.partner_id.contact_address"/></p>
  134. </div>
  135. <div class="col-xs-4">
  136. <p><strong> <span t-if="o.type == 'receipt'"> Fecha de Cobro:</span><span t-if="o.type == 'payment'"> Fecha de Pago:</span></strong> <span t-field="o.date"/></p>
  137. </div>
  138. <div class="col-xs-4">
  139. <p><strong> Referencia/Descripción:</strong><span t-field="o.reference"/></p>
  140. </div>
  141. </div>
  142. </div>
  143. <hr size="4" width="90%"></hr>
  144. <div class="divisoria5">
  145. <p>
  146. <span t-if="o.type == 'receipt'"> Recibi(mos) de</span>
  147. <span t-if="o.type == 'payment'"> Pagado a</span>
  148. <strong><span t-field="o.partner_id"/></strong> - R.U.C. N°:
  149. <span t-field="o.partner_id.ruc"/> Dirección:
  150. <span t-field="o.partner_id.contact_address"/></p>
  151. <p> Monto de
  152. <strong>
  153. <span t-field="o.currency_id.symbol"/>
  154. <t t-if="o.currency_id.id == 166">
  155. <span t-esc="'{0:,.0f}'.format(o.amount)"/>
  156. </t>
  157. <t t-if="o.currency_id.id != 166">
  158. <span t-esc="'{0:,.0f}'.format(o.amount)"/>
  159. </t>
  160. </strong>
  161. Método de <strong><span t-field="o.journal_id"/></strong>
  162. <span t-if="o.reference">
  163. con Referencia/s valor de <strong><span t-field="o.reference"/>
  164. </strong></span>
  165. </p>
  166. </div>
  167. <div class="divisoria5">
  168. <p><strong> Notas:</strong> <span t-field="o.narration"/></p>
  169. </div>
  170. <hr size="4" width="90%"></hr>
  171. <div class="divisoria5">
  172. <table width="50%">
  173. <tr>
  174. <td width="10%"><strong> Cliente:</strong></td>
  175. <td width="20%">................................................</td>
  176. <td width="10%">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</td>
  177. <td width="10%"><strong> Cobrador:</strong></td>
  178. <td width="20%">.................................................</td>
  179. <td width="10%">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</td>
  180. <td width="10%"><strong>Sello</strong></td>
  181. </tr>
  182. <br>
  183. </br>
  184. </table>
  185. </div>
  186. <div class="divisoria3"></div>
  187. </div>
  188. <div class="divisoria2"></div>
  189. </t>
  190. </div>
  191. </t>
  192. </template>
  193. <template id="report_voucher_bioelectric">
  194. <t t-call="report.html_container">
  195. <t t-foreach="doc_ids" t-as="doc_id">
  196. <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'voucher_print_bioelectric.report_voucher_document_bioelectric')"/>
  197. </t>
  198. </t>
  199. </template>
  200. </data>
  201. </openerp>