presupuesto_venta_bioelectric.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="presupuesto_venta_bioelectric"
  5. model="sale.order"
  6. string="Presupuesto de Venta"
  7. report_type="qweb-html"
  8. name="presupuesto_venta_bioelectric.report_presupuesto_bioelectric"
  9. file="presupuesto_venta_bioelectric.report_presupuesto_bioelectric"
  10. />
  11. <template id="report_presupuesto_bioelectric">
  12. <t t-call="report.html_container">
  13. <div class="page">
  14. <style type="text/css">
  15. body{
  16. font-size: 3mm;
  17. font-family: Arial;
  18. }
  19. div{
  20. padding: 0px;
  21. }
  22. .pagina{
  23. width:19.3cm;
  24. }
  25. .descripcion1{
  26. width: 11.2cm;
  27. font-size: 13px;
  28. padding-top: 0.2cm;
  29. float: left;
  30. min-height: 0cm;
  31. }
  32. .descripcion2{
  33. width: 13cm;
  34. font-size: 10px;
  35. float: left;
  36. min-height: 0cm;
  37. }
  38. .descripcion3{
  39. width: 15cm;
  40. font-size: 10px;
  41. float: left;
  42. min-height: 0cm;
  43. }
  44. .descripcion4{
  45. width: 15cm;
  46. font-size: 10px;
  47. float: left;
  48. min-height: 0cm;
  49. }
  50. .email{
  51. width: 13cm;
  52. font-size: 10px;
  53. float: left;
  54. min-height: 0cm;
  55. }
  56. .ciudad{
  57. width: 13cm;
  58. float: left;
  59. font-size: 10px;
  60. min-height: 0cm;
  61. }
  62. .tel{
  63. width: 13cm;
  64. float: left;
  65. font-size: 10px;
  66. min-height: 0cm;
  67. }
  68. .table-condensed>tbody>tr>td {
  69. padding: 1px !important;
  70. }
  71. .divisoria{
  72. height: 0.5cm;
  73. clear: both;
  74. }
  75. .titulo{
  76. width: 19.2cm;
  77. text-align: center;
  78. width: 100%;
  79. min-height: 0.9cm;
  80. }
  81. .fecha_emision_data{
  82. width: 12.5cm;
  83. float: left;
  84. min-height: 0.5cm;
  85. }
  86. .vendor{
  87. width: 6.7cm;
  88. float: left;
  89. min-height: 0.5cm;
  90. }
  91. .razon_data{
  92. width: 12.5cm;
  93. float: left;
  94. min-height: 0.4cm;
  95. }
  96. .ruc_data{
  97. width: 6.7cm;
  98. float: left;
  99. min-height: 0.4cm;
  100. }
  101. .direccion_data{
  102. width: 12.5cm;
  103. float: left;
  104. min-height: 0.4cm;
  105. }
  106. .telefono_data{
  107. width: 6.7cm;
  108. float: left;
  109. min-height: 0.4cm;
  110. }
  111. .note{
  112. width: 19.2cm;
  113. float: left;
  114. min-height: 0.4cm;
  115. }
  116. .cab-articulos{
  117. height: 0.4cm;
  118. clear: both;
  119. }
  120. .articulos{
  121. height: 4.5cm;
  122. }
  123. .art-col1{
  124. width:0.4cm;
  125. text-align: center;
  126. }
  127. .art-col2{
  128. padding-left: 0.7cm;
  129. width:1cm;
  130. text-align: center;
  131. }
  132. .art-col3{
  133. padding-left: 0.3cm;
  134. width:9cm;
  135. }
  136. .art-col4{
  137. width:0.9cm;
  138. text-align: right;
  139. }
  140. .art-col5{
  141. width:2.8cm;
  142. text-align: right;
  143. }
  144. .art-col6{
  145. width:2.7cm;
  146. text-align: right;
  147. }
  148. .art-col7{
  149. width:1.5cm;
  150. text-align: right;
  151. }
  152. .logo1{
  153. height: 2cm;
  154. width: 100%;
  155. top: 0px;
  156. }
  157. </style>
  158. <t t-foreach="docs" t-as="o">
  159. <div class="pagina">
  160. <div class="divisoria"> </div>
  161. <div style="border:0.3px solid #000;"></div>
  162. <div class="divisoria"> </div>
  163. <div class="divisoria"> </div>
  164. <table class="table table-condensed table-bordered">
  165. <thead>
  166. <tr>
  167. <div class="descripcion1"><b><i>BIO ELECTRIC</i></b></div>
  168. </tr>
  169. <tr>
  170. <div class="descripcion2"><b>SOLUCIONES ELECTROMECÁNICAS</b></div>
  171. </tr>
  172. <tr>
  173. <div class="descripcion3"><b>SERVICIOS ELÉCTRICOS 24 hs. - MONTAJES INDUSTRIALES</b></div>
  174. </tr>
  175. <tr>
  176. <div class="descripcion4"><b>AUTOMATIZACIONES - REFRIGERACIÓN, CCTV, SPLIT</b></div>
  177. </tr>
  178. <tr>
  179. <div class="email"><b>bioelectricpy@gmail.com - R.U.C. N°: 4474131-6</b></div>
  180. </tr>
  181. <tr>
  182. <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
  183. </tr>
  184. <tr>
  185. <div class="tel"><b>(021) 951827 - (0981) 939132 - (0984) 120678</b></div>
  186. </tr>
  187. </thead>
  188. </table>
  189. <div class="divisoria"> </div>
  190. <div class="titulo" >
  191. <h3><strong>NOTA DE PRESUPUESTO N°: <span t-field="o.name"/></strong></h3>
  192. <h3><strong>R.U.C. N°: 4474131-6</strong></h3>
  193. </div>
  194. <table class="table table-condensed table-bordered">
  195. <tr>
  196. <td class="fecha_emision_data"><b>Fecha: </b><span t-field="o.date_order" t-field-options='{"format": "dd MMMM yyyy"}'/></td>
  197. <td class="vendor"><b>Vendedor: </b><span t-field="o.user_id.name"/></td>
  198. </tr>
  199. <tr>
  200. <td class="razon_data"><b>Cliente: </b><span t-field="o.partner_id.name"/></td>
  201. <td class="ruc_data"><b>R.U.C N°: </b><span t-field="o.partner_id.ruc"/></td>
  202. </tr>
  203. <tr>
  204. <td class="direccion_data">
  205. <t t-f="o.partner_id.street"><b>Direccion: </b><span t-field="o.partner_id.street"/></t>
  206. <t t-f="not o.partner_id.street"> </t>
  207. </td>
  208. <td class="telefono_data"><b>Telefono: </b><span t-field="o.partner_id.phone"/></td>
  209. </tr>
  210. <tr>
  211. <td class="note"><b>Obra: </b><span t-field="o.note"/></td>
  212. </tr>
  213. </table>
  214. <table class="table table-condensed table-bordered">
  215. <thead>
  216. <tr>
  217. <th class="text-center">Cantidad</th>
  218. <th class="text-center">Descripción de material/servicio</th>
  219. <th class="text-center">Prec. Unitario</th>
  220. <th class="text-center">Parcial Materiales</th>
  221. <th class="text-center">Parcial Mano de Obra</th>
  222. </tr>
  223. </thead>
  224. <tbody class="sale_tbody">
  225. <tr t-foreach="o.order_line" t-as="l">
  226. <td class="text-right">
  227. <span t-esc="'%.0f'%l.product_uom_qty"/>
  228. </td>
  229. <td>
  230. <span t-field="l.name"/>
  231. </td>
  232. <td class="text-right">
  233. <t t-if="o.currency_id.id == 166">
  234. <span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
  235. </t>
  236. <t t-if="o.currency_id.id != 166">
  237. <span t-esc="'{0:,.2f}'.format(l.price_unit)"/>
  238. </t>
  239. </td>
  240. <td class="text-right">
  241. <t t-if="l.product_id.type == 'product'">
  242. <t t-if="o.currency_id.id == 166">
  243. <span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
  244. </t>
  245. <t t-if="o.currency_id.id != 166">
  246. <span t-esc="'{0:,.2f}'.format(l.price_unit*l.product_uom_qty)"/>
  247. </t>
  248. </t>
  249. </td>
  250. <td class="text-right">
  251. <t t-if="l.product_id.type == 'service'">
  252. <t t-if="o.currency_id.id == 166">
  253. <span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
  254. </t>
  255. <t t-if="o.currency_id.id != 166">
  256. <span t-esc="'{0:,.2f}'.format(l.price_unit*l.product_uom_qty)"/>
  257. </t>
  258. </t>
  259. </td>
  260. </tr>
  261. </tbody>
  262. </table>
  263. <div class="row">
  264. <div class="col-xs-4 pull-right">
  265. <table class="table table-condensed">
  266. <tr class="border-black">
  267. <td><strong>Total s/ IVA</strong></td>
  268. <td class="text-right">
  269. <t t-if="o.currency_id.id == 166">
  270. <span t-esc="'{0:,.0f}'.format(o.amount_untaxed)"/>
  271. </t>
  272. <t t-if="o.currency_id.id != 166">
  273. <span t-esc="'{0:,.2f}'.format(o.amount_untaxed)"/>
  274. </t>
  275. </td>
  276. </tr>
  277. <tr>
  278. <td>IVA</td>
  279. <td class="text-right">
  280. <t t-if="o.currency_id.id == 166">
  281. <span t-esc="'{0:,.0f}'.format(o.amount_tax)"/>
  282. </t>
  283. <t t-if="o.currency_id.id != 166">
  284. <span t-esc="'{0:,.2f}'.format(o.amount_tax)"/>
  285. </t>
  286. </td>
  287. </tr>
  288. <tr class="border-black">
  289. <td><strong>Total</strong></td>
  290. <td class="text-right">
  291. <t t-if="o.currency_id.id == 166">
  292. <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
  293. </t>
  294. <t t-if="o.currency_id.id != 166">
  295. <span t-esc="'{0:,.2f}'.format(o.amount_total)"/>
  296. </t>
  297. </td>
  298. </tr>
  299. </table>
  300. </div>
  301. </div>
  302. <table class="table table-condensed table-bordered">
  303. <tr>
  304. <td class="note"><b>OBS.: Los totales de costo de materiales y mano de obra 10% iva incluído</b></td>
  305. </tr>
  306. <tr>
  307. <td class="payment_term"><b>Forma de Pago: </b><span t-field="o.payment_term"/></td>
  308. </tr>
  309. </table>
  310. <tr><t><b>Aprobado por: __________________</b></t>&amp;nbsp;&amp;nbsp;<t><b>Firma:___________________</b></t>&amp;nbsp;&amp;nbsp;<t><b>C.I.N°:___________________</b></t>&amp;nbsp;&amp;nbsp;<t><b>Entrega:_______________</b></t></tr>
  311. </div>
  312. <div class="logo1"> </div>
  313. </t>
  314. </div>
  315. </t>
  316. </template>
  317. </data>
  318. </openerp>