presupuesto_venta_gavilan.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="presupuesto_venta_gavilan"
  5. model="sale.order"
  6. string="Presupuesto de Venta"
  7. report_type="qweb-html"
  8. name="presupuesto_venta_gavilan.report_presupuesto_gavilan"
  9. file="presupuesto_venta_gavilan.report_presupuesto_gavilan"
  10. />
  11. <template id="report_header_custom" inherit_id="report.external_layout_header">
  12. <xpath expr="//div[@class='header']" position="replace">
  13. <div class ="header">
  14. </div>
  15. </xpath>
  16. </template>
  17. <template id="external_layout_footer" inherit_id="report.external_layout_footer">
  18. <xpath expr="//div[@class='footer']" position="replace">
  19. <div class ="footer">
  20. </div>
  21. </xpath>
  22. </template>
  23. <template id="report_presupuesto_gavilan">
  24. <t t-call="report.html_container">
  25. <t t-call="report.external_layout">
  26. <div class="page">
  27. <style type="text/css">
  28. body{
  29. font-size: 3.2mm;
  30. font-family: Arial;
  31. }
  32. div{
  33. padding: 0px;
  34. }
  35. .pagina{
  36. width:19.3cm;
  37. }
  38. .descripcion{
  39. width: 11.2cm;
  40. font-size: 13px;
  41. padding-top: 0.5cm;
  42. float: left;
  43. min-height: 0cm;
  44. }
  45. .descripcion1{
  46. width: 11.2cm;
  47. font-size: 17px;
  48. padding-top: 0.2cm;
  49. padding-left: 0.2cm;
  50. float: left;
  51. min-height: 0cm;
  52. }
  53. .descripcion11{
  54. width: 11.2cm;
  55. font-size: 17px;
  56. padding-left: 0.2cm;
  57. padding-top: 0.1cm;
  58. float: left;
  59. min-height: 0cm;
  60. }
  61. .descripcion2{
  62. width: 13cm;
  63. padding-left: 0.2cm;
  64. font-size: 10px;
  65. float: left;
  66. min-height: 0cm;
  67. }
  68. .descripcion3{
  69. width: 15cm;
  70. font-size: 10px;
  71. padding-left: 0.2cm;
  72. float: left;
  73. min-height: 0cm;
  74. }
  75. .descripcion4{
  76. width: 15cm;
  77. font-size: 10px;
  78. padding-left: 0.2cm;
  79. float: left;
  80. min-height: 0cm;
  81. }
  82. .email{
  83. width: 13cm;
  84. font-size: 10px;
  85. padding-left: 0.2cm;
  86. float: left;
  87. min-height: 0cm;
  88. }
  89. .ciudad{
  90. width: 13cm;
  91. float: left;
  92. padding-left: 0.2cm;
  93. font-size: 10px;
  94. min-height: 0cm;
  95. }
  96. .tel{
  97. width: 13cm;
  98. float: left;
  99. padding-left: 0.2cm;
  100. font-size: 10px;
  101. min-height: 0cm;
  102. }
  103. .rucdata{
  104. width: 13cm;
  105. float: left;
  106. padding-left: 0.2cm;
  107. font-size: 10px;
  108. min-height: 0cm;
  109. }
  110. .table-condensed>tbody>tr>td {
  111. padding: 1px !important;
  112. }
  113. .divisoria{
  114. height: 0.5cm;
  115. clear: both;
  116. }
  117. .titulo{
  118. width: 19.2cm;
  119. text-align: center;
  120. width: 100%;
  121. min-height: 0.9cm;
  122. }
  123. .fecha_emision_data{
  124. width: 12.5cm;
  125. float: left;
  126. min-height: 0.5cm;
  127. }
  128. .vendor{
  129. width: 6.7cm;
  130. float: left;
  131. min-height: 0.5cm;
  132. }
  133. .razon_data{
  134. width: 12.5cm;
  135. float: left;
  136. min-height: 0.4cm;
  137. }
  138. .ruc_data{
  139. width: 6.7cm;
  140. float: left;
  141. min-height: 0.4cm;
  142. }
  143. .direccion_data{
  144. width: 19.2cm;
  145. float: left;
  146. min-height: 0.4cm;
  147. }
  148. .telefono_data{
  149. width: 19.2cm;
  150. float: left;
  151. min-height: 0.4cm;
  152. }
  153. .note{
  154. width: 19.2cm;
  155. float: left;
  156. min-height: 0.4cm;
  157. }
  158. .divisoria1{
  159. height: 0.3cm;
  160. clear: both;
  161. }
  162. .cab-articulos{
  163. height: 0.4cm;
  164. clear: both;
  165. }
  166. .articulos{
  167. height: 4.5cm;
  168. }
  169. .art-col1{
  170. width:2.3cm;
  171. text-align: center;
  172. }
  173. .art-col2{
  174. width:11.3cm;
  175. text-align: left;
  176. }
  177. .art-col3{
  178. padding-left: 0.5cm;
  179. width:3cm;
  180. text-align: right;
  181. }
  182. .art-col4{
  183. padding-left: 0.5cm;
  184. width:3cm;
  185. text-align: right;
  186. }
  187. .spad{
  188. width: 8.5cm;
  189. float: left;
  190. padding-top: 0.09cm;
  191. padding-bottom: 0.12cm;
  192. min-height: 0.4cm;
  193. }
  194. .sub_total{
  195. width: 11cm;
  196. text-align: right;
  197. padding-top: 0.09cm;
  198. padding-left: 9.5cm;
  199. padding-bottom: 0.12cm;
  200. min-height: 0.4cm;
  201. }
  202. .total_iva{
  203. width: 11cm;
  204. text-align: right;
  205. padding-top: 0.09cm;
  206. padding-left: 9.5cm;
  207. padding-bottom: 0.12cm;
  208. min-height: 0.4cm;
  209. }
  210. .total_total{
  211. width: 11cm;
  212. text-align: right;
  213. padding-top: 0.09cm;
  214. padding-left: 9.5cm;
  215. padding-bottom: 0.12cm;
  216. min-height: 0.4cm;
  217. }
  218. .total_pagar_data{
  219. width: 19.2cm;
  220. float: left;
  221. min-height: 0.4cm;
  222. }
  223. .logo1{
  224. height: 2cm;
  225. width: 100%;
  226. top: 0px;
  227. }
  228. </style>
  229. <t t-foreach="docs" t-as="o">
  230. <div class="pagina">
  231. <div style="margin-top: 1.3cm;"></div>
  232. <div class="row">
  233. <div class="col-xs-12" style="padding-left: 0.01mm; padding-top: 0.01mm; padding-bottom: 0.15mm; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;">
  234. <tr>
  235. <div class="descripcion">
  236. </div>
  237. </tr>
  238. <tr>
  239. <div class="descripcion1"><b>GAVILAN COMPANY</b></div>
  240. </tr>
  241. <tr>
  242. <div class="descripcion2"><b>de Prins Gavilán Mendez</b></div>
  243. </tr>
  244. <tr>
  245. <div class="descripcion11"></div>
  246. </tr>
  247. <tr>
  248. <div class="descripcion3"><b>Sistemas de promoción en medios digitales</b></div>
  249. </tr>
  250. <tr>
  251. <div class="descripcion4"><b>R.U.C. N°: 4525936-4</b></div>
  252. </tr>
  253. <tr>
  254. <div class="email"><b></b></div>
  255. </tr>
  256. <tr>
  257. <div class="ciudad"><b>Avda. Julio C. Riquelme Km.7 - Ciudad Nueva</b></div>
  258. </tr>
  259. <tr>
  260. <div class="tel"><b>Ciudad del Este - Paraguay</b></div>
  261. </tr>
  262. <tr>
  263. <div class="rucdata"><b>Teléfono: (0984) 707 850</b></div>
  264. </tr>
  265. </div>
  266. <!-- <div class="col-xs-8">
  267. <center>
  268. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 240px;max-width: 80px;"/>
  269. </center>
  270. </div> -->
  271. </div>
  272. <div class="divisoria"> </div>
  273. <div class="col-xs-12" style="padding-left: 0.01mm; padding-top: 0.01mm; padding-bottom: 0.15mm; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;">
  274. <h2>
  275. <center>
  276. <span>PRESUPUESTO N° </span>
  277. <span t-field="o.name"/>
  278. </center>
  279. </h2>
  280. </div>
  281. <table class="table table-condensed table-bordered">
  282. <tr>
  283. <td class="fecha_emision_data"><b>Fecha: </b><span t-field="o.date_order" t-field-options='{"format": "dd MMMM yyyy"}'/></td>
  284. <td class="vendor"><b>Vendedor: </b><span t-field="o.user_id.name"/></td>
  285. </tr>
  286. <tr>
  287. <td class="razon_data"><b>Nombre o Razón Social: </b><span t-field="o.partner_id.name"/></td>
  288. <td class="ruc_data"><b>R.U.C N°: </b><span t-field="o.partner_id.ruc"/></td>
  289. </tr>
  290. <tr>
  291. <td class="direccion_data"><b>Direccion: </b><span t-field="o.partner_id.street"/></td>
  292. </tr>
  293. <tr>
  294. <td class="telefono_data"><b>Telefono: </b><span t-field="o.partner_id.phone"/></td>
  295. </tr>
  296. </table>
  297. <div class="divisoria1"> </div>
  298. <p>
  299. <strong>Por medio de la presente ponemos a su consideración el presente presupuesto.</strong>
  300. </p>
  301. <div class="divisoria1"> </div>
  302. <table style="border-collapse: collapse; width: 100%;" class="product">
  303. <tr>
  304. <th style="padding: 0.2cm; width:10%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Cant.</th>
  305. <th style="padding: 0.2cm; width:55%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Descripción</th>
  306. <th style="padding: 0.2cm; width:15%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Precio Unit.</th>
  307. <th style="padding: 0.2cm; width:20%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Sub Total</th>
  308. </tr>
  309. </table>
  310. <div style="height: 7.5cm;border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;">
  311. <table style="border-collapse: collapse; width: 100%; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;">
  312. <tr t-foreach="o.order_line" t-as="l">
  313. <td style="text-align: center; padding: 0.1cm; width: 10%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-esc="'{0:,.0f}'.format(l.product_uom_qty)"/></td>
  314. <td style="text-align: left; padding: 0.1cm; width:55%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-field="l.product_id.name"/></td>
  315. <td style="text-align: right; padding: 0.1cm; width:15%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/></td>
  316. <td style="text-align: right; padding: 0.1cm; width:20%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-esc="'{0:,.0f}'.format((l.product_uom_qty * l.price_unit))"/></td>
  317. </tr>
  318. <!-- Inserta más filas aquí -->
  319. </table>
  320. </div>
  321. <div class="divisoria"> </div>
  322. <div class="row">
  323. <div class="col-xs-4 pull-right">
  324. <table class="table table-condensed">
  325. <tr class="border-black">
  326. <td><strong>Sub Total:</strong></td>
  327. <td class="text-right">
  328. <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
  329. </td>
  330. </tr>
  331. <tr>
  332. <td>Total IVA:</td>
  333. <td class="text-right">
  334. <span t-esc="'{0:,.0f}'.format(o.amount_tax)"/>
  335. </td>
  336. </tr>
  337. <tr class="border-black">
  338. <td><strong>Total</strong></td>
  339. <td class="text-right">
  340. <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
  341. </td>
  342. </tr>
  343. </table>
  344. </div>
  345. </div>
  346. <!-- <div class="total_pagar_data">En letras: <span t-esc="convertir(o.amount_total,o.currency_id.en_letras1)"/></div> --> -->
  347. <div class="divisoria"> </div>
  348. <p>
  349. <strong>Condición de Pago:</strong>
  350. <span t-field="o.payment_term"/>
  351. </p>
  352. <p>
  353. <strong>Plazo de Pago:</strong>
  354. <span t-field="o.note"/>
  355. </p>
  356. <p>
  357. <strong><b>Garantia:</b> 1 (un) año sobre defectos de fábrica, no se considera defectos de fábrica los inconvenientes causados por fenómenos naturales e incovenientes
  358. causados por problemas en el suministro eléctrico, para la garantía se proveerán los componentes que deben ser cambiados.</strong>
  359. </p>
  360. <div>
  361. <center>
  362. <strong>Validez del presente presupuesto 15 días</strong>
  363. </center>
  364. </div>
  365. <div class="divisoria"> </div>
  366. <div>
  367. <center>
  368. <strong>GRACIAS POR CONFIAR EN NOSOTROS</strong>
  369. </center>
  370. </div>
  371. </div>
  372. </t>
  373. </div>
  374. </t>
  375. </t>
  376. </template>
  377. </data>
  378. </openerp>