report_recibodecorart.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="informe_recibo_decorart"
  5. model="account.voucher"
  6. string="Recibo"
  7. report_type="qweb-pdf"
  8. name="recibo_decorart.recibo_decorart"
  9. file="recibo_decorart.recibo_decorart"
  10. />
  11. <template id="recibo_decorart">
  12. <t t-call="report.html_container">
  13. <!-- <t t-foreach="[1,2]" t-as="i"> -->
  14. <div class="page">
  15. <style type="text/css">
  16. body{
  17. font-size: 5mm;
  18. font-family: Arial;
  19. }
  20. .pagina{
  21. width:19.3cm;
  22. }
  23. div{
  24. padding: 0px;
  25. }
  26. </style>
  27. <!-- <div class="oe_structure"/> -->
  28. <t t-foreach="docs" t-as="o">
  29. <div class="row">
  30. <div class="col-xs-4">
  31. <center>
  32. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 150px;max-width: 100px;"/>
  33. </center>
  34. </div>
  35. <h3 class="text-center">RECIBO DE DINERO</h3>
  36. <h4 class="text-center">M Y S Decorart</h4>
  37. </div>
  38. <br>
  39. </br>
  40. <br>
  41. <div t-if="o.number" class="col-sm-6">
  42. <strong>Numero de Pago: </strong><i t-field="o.number"/>
  43. </div>
  44. <div t-if="o.date" class="col-sm-6">
  45. <strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/>
  46. </div>
  47. <div t-if="o.amount" class="col-sm-6">
  48. <strong>Monto pagado: </strong><i t-field="o.amount"/> <span t-field="o.currency_id.symbol"/>
  49. </div>
  50. </br>
  51. <br>
  52. </br>
  53. <br>
  54. <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 de la Factura Nro <span t-field="o.reference"/></p>
  55. <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 de la Factura Nro <span t-field="o.reference"/></p>
  56. <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 de la Factura Nro <span t-field="o.reference"/></p>
  57. <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 de la Factura Nro <span t-field="o.reference"/></p>
  58. <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 de la Factura Nro <span t-field="o.reference"/></p>
  59. </br>
  60. <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
  61. <br>
  62. </br>
  63. <br>
  64. </br>
  65. <br>
  66. <div class="col-xs-6">
  67. <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
  68. </div>
  69. </br>
  70. <br>
  71. </br>
  72. <br>
  73. </br>
  74. </t>
  75. </div>
  76. <!-- </t> -->
  77. </t>
  78. </template>
  79. </data>
  80. </openerp>