presupuesto_venta_gavilan.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  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. float: left;
  50. min-height: 0cm;
  51. }
  52. .descripcion11{
  53. width: 11.2cm;
  54. font-size: 17px;
  55. padding-top: 0.2cm;
  56. float: left;
  57. min-height: 0cm;
  58. }
  59. .descripcion2{
  60. width: 13cm;
  61. font-size: 10px;
  62. float: left;
  63. min-height: 0cm;
  64. }
  65. .descripcion3{
  66. width: 15cm;
  67. font-size: 10px;
  68. float: left;
  69. min-height: 0cm;
  70. }
  71. .descripcion4{
  72. width: 15cm;
  73. font-size: 10px;
  74. float: left;
  75. min-height: 0cm;
  76. }
  77. .email{
  78. width: 13cm;
  79. font-size: 10px;
  80. float: left;
  81. min-height: 0cm;
  82. }
  83. .ciudad{
  84. width: 13cm;
  85. float: left;
  86. font-size: 10px;
  87. min-height: 0cm;
  88. }
  89. .tel{
  90. width: 13cm;
  91. float: left;
  92. font-size: 10px;
  93. min-height: 0cm;
  94. }
  95. .rucdata{
  96. width: 13cm;
  97. float: left;
  98. font-size: 10px;
  99. min-height: 0cm;
  100. }
  101. .table-condensed>tbody>tr>td {
  102. padding: 1px !important;
  103. }
  104. .divisoria{
  105. height: 0.9cm;
  106. clear: both;
  107. }
  108. .titulo{
  109. width: 19.2cm;
  110. text-align: center;
  111. width: 100%;
  112. min-height: 0.9cm;
  113. }
  114. .fecha_emision_data{
  115. width: 12.5cm;
  116. float: left;
  117. min-height: 0.5cm;
  118. }
  119. .vendor{
  120. width: 6.7cm;
  121. float: left;
  122. min-height: 0.5cm;
  123. }
  124. .razon_data{
  125. width: 12.5cm;
  126. float: left;
  127. min-height: 0.4cm;
  128. }
  129. .ruc_data{
  130. width: 6.7cm;
  131. float: left;
  132. min-height: 0.4cm;
  133. }
  134. .direccion_data{
  135. width: 19.2cm;
  136. float: left;
  137. min-height: 0.4cm;
  138. }
  139. .telefono_data{
  140. width: 19.2cm;
  141. float: left;
  142. min-height: 0.4cm;
  143. }
  144. .note{
  145. width: 19.2cm;
  146. float: left;
  147. min-height: 0.4cm;
  148. }
  149. .cab-articulos{
  150. height: 0.4cm;
  151. clear: both;
  152. }
  153. .articulos{
  154. height: 4.5cm;
  155. }
  156. .art-col1{
  157. width:2.3cm;
  158. text-align: center;
  159. }
  160. .art-col2{
  161. width:11.3cm;
  162. text-align: left;
  163. }
  164. .art-col3{
  165. padding-left: 0.5cm;
  166. width:3cm;
  167. text-align: right;
  168. }
  169. .art-col4{
  170. padding-left: 0.5cm;
  171. width:3cm;
  172. text-align: right;
  173. }
  174. .spad{
  175. width: 8.5cm;
  176. float: left;
  177. padding-top: 0.09cm;
  178. padding-bottom: 0.12cm;
  179. min-height: 0.4cm;
  180. }
  181. .sub_total{
  182. width: 8cm;
  183. float: left;
  184. text-align: right;
  185. padding-top: 0.09cm;
  186. font-size: 3.5mm;
  187. padding-left: 9.5cm;
  188. padding-bottom: 0.12cm;
  189. min-height: 0.4cm;
  190. }
  191. .total_iva{
  192. width: 8cm;
  193. float: left;
  194. text-align: right;
  195. padding-top: 0.09cm;
  196. font-size: 3.5mm;
  197. padding-left: 9.5cm;
  198. padding-bottom: 0.12cm;
  199. min-height: 0.4cm;
  200. }
  201. .total_total{
  202. width: 8cm;
  203. float: left;
  204. text-align: right;
  205. padding-top: 0.09cm;
  206. font-size: 3.5mm;
  207. padding-left: 9.5cm;
  208. padding-bottom: 0.12cm;
  209. min-height: 0.4cm;
  210. }
  211. .total_pagar_data{
  212. width: 19.2cm;
  213. float: left;
  214. min-height: 0.4cm;
  215. }
  216. .logo1{
  217. height: 2cm;
  218. width: 100%;
  219. top: 0px;
  220. }
  221. </style>
  222. <t t-foreach="docs" t-as="o">
  223. <div class="pagina">
  224. <div class="row">
  225. <div class="col-xs-4">
  226. <tr>
  227. <div class="descripcion">
  228. </div>
  229. </tr>
  230. <tr>
  231. <div class="descripcion1"><b><i>GAVILAN COMPANY</i></b></div>
  232. </tr>
  233. <tr>
  234. <div class="descripcion2"><b>de Prins Gavilán Mendez</b></div>
  235. </tr>
  236. <tr>
  237. <div class="descripcion11"></div>
  238. </tr>
  239. <tr>
  240. <div class="descripcion3"><b>Sistemas de promoción en medios digitales</b></div>
  241. </tr>
  242. <tr>
  243. <div class="descripcion4"><b>R.U.C. N°: 4525936-4</b></div>
  244. </tr>
  245. <tr>
  246. <div class="email"><b></b></div>
  247. </tr>
  248. <tr>
  249. <div class="ciudad"><b>Avda. Julio C. Riquelme Km.7 - Ciudad Nueva</b></div>
  250. </tr>
  251. <tr>
  252. <div class="tel"><b>Ciudad del Este - Paraguay</b></div>
  253. </tr>
  254. <tr>
  255. <div class="rucdata"><b>Teléfono: (0984) 707 850</b></div>
  256. </tr>
  257. </div>
  258. <!-- <div class="col-xs-8">
  259. <center>
  260. <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;"/>
  261. </center>
  262. </div> -->
  263. </div>
  264. <div class="divisoria"> </div>
  265. <h2>
  266. <center>
  267. <span>PRESUPUESTO N° </span>
  268. <span t-field="o.name"/>
  269. </center>
  270. </h2>
  271. <table class="table table-condensed table-bordered">
  272. <tr>
  273. <td class="fecha_emision_data"><b>Fecha: </b><span t-field="o.date_order" t-field-options='{"format": "dd MMMM yyyy"}'/></td>
  274. <td class="vendor"><b>Vendedor: </b><span t-field="o.user_id.name"/></td>
  275. </tr>
  276. <tr>
  277. <td class="razon_data"><b>Nombre o Razón Social: </b><span t-field="o.partner_id.name"/></td>
  278. <td class="ruc_data"><b>R.U.C N°: </b><span t-field="o.partner_id.ruc"/></td>
  279. </tr>
  280. <tr>
  281. <td class="direccion_data"><b>Direccion: </b><span t-field="o.partner_id.street"/></td>
  282. </tr>
  283. <tr>
  284. <td class="telefono_data"><b>Telefono: </b><span t-field="o.partner_id.phone"/></td>
  285. </tr>
  286. <tr>
  287. <td class="note"><b>Por medio de la presente ponemos a su consideración el presente presupuesto.</b></td>
  288. </tr>
  289. </table>
  290. <div class="divisoria"> </div>
  291. <table>
  292. <thead>
  293. <tr>
  294. <th class="art-col1">Cantidad</th>
  295. <th class="art-col2">Descripción</th>
  296. <th class="art-col3">Precio Unitario</th>
  297. <th class="art-col4">Sub Total</th>
  298. </tr>
  299. </thead>
  300. <tbody class="sale_tbody">
  301. <tr t-foreach="o.order_line" t-as="l">
  302. <td class="art-col1">
  303. <span t-esc="'%.0f'%l.product_uom_qty"/>
  304. </td>
  305. <td class="art-col2">
  306. <span t-field="l.name"/>
  307. </td>
  308. <td class="art-col3">
  309. <span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
  310. </td>
  311. <td class="art-col4">
  312. <span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
  313. </td>
  314. </tr>
  315. </tbody>
  316. </table>
  317. <div class="divisoria"> </div>
  318. <div class="sub_total">
  319. <strong>Sub Total: </strong> <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
  320. </div>
  321. <div class="total_iva">
  322. <strong>Total IVA: </strong> <span t-esc="'{0:,.0f}'.format(o.amount_tax)"/>
  323. </div>
  324. <div class="total_total">
  325. <strong>Total: </strong> <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
  326. </div>
  327. <!-- <div class="total_pagar_data">En letras: <span t-esc="convertir(o.amount_total,o.currency_id.en_letras1)"/></div> --> -->
  328. <div class="divisoria"> </div>
  329. <p t-if="o.payment_term.note">
  330. <strong>Condición de Pago:</strong>
  331. <span t-field="o.payment_term"/>
  332. </p>
  333. <p>
  334. <strong>Plazo de Pago:</strong>
  335. <span t-field="o.note"/>
  336. </p>
  337. <p>
  338. <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
  339. causados por problemas en el suministro eléctrico, para la garantía se proveerán los componentes que deben ser cambiados.</strong>
  340. </p>
  341. <div>
  342. <center>
  343. <strong>Validez del presente presupuesto 15 días</strong>
  344. </center>
  345. </div>
  346. <div class="divisoria"> </div>
  347. <div>
  348. <center>
  349. <strong>GRACIAS POR CONFIAR EN NOSOTROS</strong>
  350. </center>
  351. </div>
  352. </div>
  353. </t>
  354. </div>
  355. </t>
  356. </t>
  357. </template>
  358. </data>
  359. </openerp>