report_recibonandetv.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="informe_recibo_nandetv"
  5. model="account.voucher"
  6. string="Recibo"
  7. report_type="qweb-pdf"
  8. name="recibo_nandetv.recibo_nandetv"
  9. file="recibo_nandetv.recibo_nandetv"
  10. />
  11. <record id="paperformat_lowmargin" model="report.paperformat">
  12. <field name="name">A4</field>
  13. <field name="default" eval="True" />
  14. <field name="format">custom</field>
  15. <field name="page_height">297</field>
  16. <field name="page_width">210</field>
  17. <field name="orientation">Portrait</field>
  18. <field name="margin_top">4</field>
  19. <field name="margin_bottom">3</field>
  20. <field name="margin_left">3</field>
  21. <field name="margin_right">3</field>
  22. <field name="header_line" eval="False" />
  23. <field name="header_spacing">3</field>
  24. <field name="dpi">90</field>
  25. </record>
  26. <record id="recibo_nandetv.informe_recibo_nandetv" model="ir.actions.report.xml">
  27. <field name="paperformat_id" ref="recibo_nandetv.paperformat_lowmargin" />
  28. </record>
  29. <template id="recibo_nandetv">
  30. <t t-call="report.html_container">
  31. <div class="page">
  32. <style type="text/css">
  33. body{
  34. font-size: 6mm;
  35. font-family: Arial;
  36. }
  37. div{
  38. padding: 0px;
  39. }
  40. .pagina{
  41. width:19.3cm;
  42. padding-left: 1.5cm;
  43. padding-right: 1.5cm;
  44. }
  45. .logo{
  46. height: 0.25cm;
  47. width: 100%;
  48. top: 0px;
  49. }
  50. .logo2{
  51. height: 0.25cm;
  52. width: 100%;
  53. top: 0px;
  54. }
  55. .descripcion2{
  56. width: 13cm;
  57. font-size: 10px;
  58. float: left;
  59. min-height: 0cm;
  60. }
  61. .descripcion3{
  62. width: 15cm;
  63. font-size: 10px
  64. padding-top: 0.5cm;
  65. margin-left: 0.4cm;
  66. float: left;
  67. min-height: 0cm;
  68. }
  69. .descripcion{
  70. width: 11.2cm;
  71. font-size: 13px;
  72. padding-top: 0.5cm;
  73. margin-left: 0.4cm;
  74. float: left;
  75. min-height: 0cm;
  76. }
  77. .descripcion1{
  78. width: 11.2cm;
  79. font-size: 12px;
  80. padding-top: 0.2cm;
  81. margin-left: 0.4cm;
  82. float: left;
  83. min-height: 0cm;
  84. }
  85. .descripcion4{
  86. width: 15cm;
  87. font-size: 10px;
  88. float: left;
  89. min-height: 0cm;
  90. }
  91. .email{
  92. width: 13cm;
  93. font-size: 10px;
  94. margin-left: 0.4cm;
  95. float: left;
  96. min-height: 0cm;
  97. }
  98. .ciudad{
  99. width: 13cm;
  100. float: left;
  101. font-size: 10px;
  102. min-height: 0cm;
  103. }
  104. .tel{
  105. width: 13cm;
  106. float: left;
  107. font-size: 10px;
  108. margin-left: 0.4cm;
  109. min-height: 0cm;
  110. }
  111. .rucdata{
  112. width: 13cm;
  113. float: left;
  114. font-size: 10px;
  115. margin-left: 0.4cm;
  116. min-height: 0cm;
  117. }
  118. .divisoria{
  119. height: 0.5cm;
  120. clear: both;
  121. }
  122. diva {
  123. text-decoration-line: overline;
  124. }
  125. .titulo{
  126. width: 19.2cm;
  127. text-align: center;
  128. margin-left: 0.8cm;
  129. width: 100%;
  130. min-height: 0.9cm;
  131. }
  132. .number{
  133. width: 13cm;
  134. float: left;
  135. margin-left: 1cm;
  136. font-size: 15px;
  137. min-height: 0cm;
  138. }
  139. .date{
  140. width: 13cm;
  141. float: left;
  142. margin-left: 1cm;
  143. font-size: 15px;
  144. min-height: 0cm;
  145. }
  146. .amount{
  147. width: 13cm;
  148. float: left;
  149. margin-left: 1cm;
  150. font-size: 15px;
  151. min-height: 0cm;
  152. }
  153. .currency{
  154. width: 19cm;
  155. float: left;
  156. margin-left: 1cm;
  157. font-size: 15px;
  158. min-height: 0cm;
  159. }
  160. .firma{
  161. width: 19cm;
  162. float: left;
  163. margin-left: 1cm;
  164. font-size: 15px;
  165. min-height: 0cm;
  166. }
  167. margen{
  168. margin-right: 20px;
  169. }
  170. div{
  171. padding: 0px;
  172. }
  173. </style>
  174. <t t-foreach="docs" t-as="o">
  175. <div class="pagina">
  176. <div class="row">
  177. <div class="col-xs-6">
  178. <left>
  179. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 200px;max-width: 200px;"/>
  180. </left>
  181. </div>
  182. <div class="col-xs-6">
  183. <tr>
  184. <div class="logo2"></div>
  185. </tr>
  186. <tr>
  187. <div class="descripcion3"><b>nandetv</b></div>
  188. </tr>
  189. <tr>
  190. <div class="descripcion1"><b>Av Dr Ignacio Alberto Pane,</b></div>
  191. </tr>
  192. <tr>
  193. <div class="email"><b>Ciudad del Este - Paraguay</b></div>
  194. </tr>
  195. <tr>
  196. <div class="tel"><b>Tel.: (061) 579 233</b></div>
  197. </tr>
  198. <tr>
  199. <div class="rucdata"><b>R.U.C. N° 80088298-9</b></div>
  200. </tr>
  201. </div>
  202. <div class="divisoria"> </div>
  203. <hr width="125%" style="border: 2px dashed #C0C0C0" color="#FFFFFF" size="6"></hr>
  204. <t t-foreach="[1]" t-as="i">
  205. <div class="divisoria"> </div>
  206. <div class="titulo" >
  207. <h3 class="text-center"><strong>RECIBO DE DINERO</strong></h3>
  208. <h4 class="text-center"></h4>
  209. </div>
  210. <div class="col-xs-12">
  211. <br>
  212. <tr>
  213. <div class="number"><strong>Numero de Pago: </strong><i t-field="o.number"/></div>
  214. </tr>
  215. <tr>
  216. <div class="date"><strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/></div>
  217. </tr>
  218. <tr>
  219. <div class="amount">
  220. <strong>Monto pagado: </strong><i t-esc="'{0:,.0f}'.format(o.amount)"/> <span t-field="o.currency_id.symbol"/>
  221. </div>
  222. </tr>
  223. </br>
  224. </div>
  225. <br>
  226. </br>
  227. <div class="col-xs-12">
  228. <br>
  229. <div class="currency">
  230. <p t-if="o.currency_id.id==3">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Dolares en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
  231. <p t-if="o.currency_id.id==20">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Pesos Argentinos en concepto de pago por ........................................................................................ de la Factura Nro <span t-field="o.reference"/></p>
  232. <p t-if="o.currency_id.id==7">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Reales en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
  233. <p t-if="o.currency_id.id==1">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Euros en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
  234. <tr>
  235. <p t-if="o.currency_id.id==166">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Guaranies en concepto de pago por <span t-field="o.comment_obs"/></p>
  236. </tr>
  237. <!-- <tr>
  238. <p t-if="o.currency_id.id==166"><span t-field="o.comment_obs"/></p>
  239. </tr> -->
  240. <tr>
  241. <p t-if="o.currency_id.id==166">de la Factura Nro <span t-field="o.reference"/></p>
  242. </tr>
  243. </div>
  244. </br>
  245. </div>
  246. <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
  247. <div class="divisoria"> </div>
  248. <!-- <br>
  249. <div class="col-xs-6">
  250. <div class="firma">
  251. <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
  252. </div>
  253. </div>
  254. </br> -->
  255. <br>
  256. </br>
  257. <br>
  258. </br>
  259. </t> <!-- -->
  260. </div>
  261. </div>
  262. </t>
  263. </div>
  264. </t>
  265. </template>
  266. </data>
  267. </openerp>