nota_remision_print.xml 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="nota_remision"
  5. model="sale.nota.remision"
  6. string="Nota Remisión"
  7. report_type="qweb-html"
  8. name="nota_remision_medicalart.report_nota_remision"
  9. file="nota_remision_medicalart.report_nota_remision"
  10. />
  11. <template id="report_nota_remision">
  12. <t t-call="report.html_container">
  13. <t t-foreach="[1]" t-as="i">
  14. <div class="page">
  15. <style type="text/css">
  16. body{
  17. font-size: 3.1mm;
  18. font-family: Calibri;
  19. }
  20. div{
  21. padding: 0px;
  22. }
  23. .pagina{
  24. width:19.3cm;
  25. margin-top: 1.0mm;
  26. margin-left: 2.0mm;
  27. margin-right: 3.0mm;
  28. }
  29. .logo{
  30. height: 3.39cm;
  31. width: 100%;
  32. top: 0px;
  33. }
  34. .articulos{
  35. height: 0.55cm;
  36. }
  37. .art-col11{
  38. width:4.1cm;
  39. font-size: 3.25mm;
  40. text-align: left;
  41. vertical-align: top;
  42. min-height: 0.05cm;
  43. }
  44. .art-col12{
  45. width:10cm;
  46. font-size: 3.25mm;
  47. text-align: left;
  48. vertical-align: top;
  49. min-height: 0.05cm;
  50. }
  51. .art-col13{
  52. font-size:3.25mm;
  53. width:2.0cm;
  54. text-align: center;
  55. vertical-align: top;
  56. min-height: 0.05cm;
  57. }
  58. .art-col14{
  59. font-size: 3.25mm;
  60. width:10cm;
  61. text-align: left;
  62. vertical-align: top;
  63. min-height: 0.05cm;
  64. }
  65. .articulos{
  66. height: 0.55cm;
  67. }
  68. .art-col1{
  69. width:2.3cm;
  70. font-size: 3.25mm;
  71. text-align: left;
  72. vertical-align: top;
  73. min-height: 0.05cm;
  74. }
  75. .art-col2{
  76. width:11cm;
  77. font-size: 3.25mm;
  78. text-align: left;
  79. vertical-align: top;
  80. min-height: 0.05cm;
  81. }
  82. .art-col3{
  83. font-size: 3.25mm;
  84. width:1.2cm;
  85. text-align: left;
  86. vertical-align: top;
  87. min-height: 0.05cm;
  88. }
  89. .art-col4{
  90. font-size: 3.25mm;
  91. width:10cm;
  92. text-align: left;
  93. vertical-align: top;
  94. min-height: 0.01cm;
  95. }
  96. .articulos21{
  97. height: 0.55cm;
  98. }
  99. .art-col21{
  100. width:6.1cm;
  101. font-size: 3.25mm;
  102. text-align: left;
  103. vertical-align: top;
  104. min-height: 0.06cm;
  105. }
  106. .art-col22{
  107. padding-left: 1cm;
  108. font-size: 3.25mm;
  109. width:14cm;
  110. text-align: left;
  111. vertical-align: top;
  112. min-height: 0.06cm;
  113. }
  114. .art-col23{
  115. width:7.5cm;
  116. font-size: 3.25mm;
  117. text-align: left;
  118. vertical-align: top;
  119. min-height: 0.06cm;
  120. }
  121. .art-col24{
  122. font-size: 3.25mm;
  123. width:9cm;
  124. text-align: left;
  125. vertical-align: top;
  126. min-height: 0.06cm;
  127. }
  128. .articulos31{
  129. height: 0.55cm;
  130. }
  131. .art-col31{
  132. width:3.1cm;
  133. font-size: 3.25mm;
  134. text-align: left;
  135. vertical-align: top;
  136. min-height: 0.4cm;
  137. }
  138. .art-col32{
  139. padding-left: 0.2cm;
  140. font-size: 3.25mm;
  141. width:10cm;
  142. text-align: left;
  143. vertical-align: top;
  144. min-height: 0.4cm;
  145. }
  146. .art-col33{
  147. width:0.4cm;
  148. font-size: 3.2mm;
  149. text-align: left;
  150. vertical-align: top;
  151. min-height: 0.4cm;
  152. }
  153. .art-col34{
  154. font-size: 3.25mm;
  155. width:8cm;
  156. text-align: center;
  157. vertical-align: top;
  158. min-height: 0.4cm;
  159. }
  160. .articulos41{
  161. height: 0.55cm;
  162. }
  163. .art-col41{
  164. width:5.0cm;
  165. font-size: 3.2mm;
  166. text-align: left;
  167. vertical-align: top;
  168. min-height: 1.5cm;
  169. }
  170. .art-col42{
  171. padding-left: 1.0mm;
  172. width:12cm;
  173. font-size: 3.2mm;
  174. text-align: left;
  175. vertical-align: top;
  176. min-height: 1.5cm;
  177. }
  178. .art-col43{
  179. width:2cm;
  180. font-size: 3.25mm;
  181. text-align: left;
  182. vertical-align: top;
  183. min-height: 1.5cm;
  184. }
  185. .art-col44{
  186. padding-left: 0.9cm;
  187. font-size: 3.25mm;
  188. width:10cm;
  189. text-align: left;
  190. vertical-align: top;
  191. min-height: 1.5cm;
  192. }
  193. .articulos51{
  194. height: 0.55cm;
  195. }
  196. .art-col51{
  197. width:5.4cm;
  198. font-size: 3.25mm;
  199. text-align: left;
  200. vertical-align: top;
  201. min-height: 0.06cm;
  202. }
  203. .art-col52{
  204. padding-left: 0.2mm;
  205. width:12cm;
  206. font-size: 3.25mm;
  207. text-align: left;
  208. vertical-align: top;
  209. min-height: 0.06cm;
  210. }
  211. .art-col53{
  212. width:1.5cm;
  213. font-size: 3.25mm;
  214. text-align: left;
  215. vertical-align: top;
  216. min-height: 0.06cm;
  217. }
  218. .art-col54{
  219. padding-left: 1.0cm;
  220. font-size: 3.25mm;
  221. width:10cm;
  222. text-align: left;
  223. vertical-align: top;
  224. min-height: 0.06cm;
  225. }
  226. .articulos61{
  227. height: 0.55cm;
  228. }
  229. .art-col61{
  230. width:4.1cm;
  231. font-size: 3.25mm;
  232. text-align: left;
  233. vertical-align: top;
  234. min-height: 0.7cm;
  235. }
  236. .art-col62{
  237. padding-left: 2.5mm;
  238. width:12cm;
  239. font-size: 3.25mm;
  240. text-align: left;
  241. vertical-align: top;
  242. min-height: 0.7cm;
  243. }
  244. .art-col63{
  245. width:2cm;
  246. font-size: 3.25mm;
  247. text-align: left;
  248. vertical-align: top;
  249. min-height: 0.7cm;
  250. }
  251. .art-col64{
  252. padding-left: 0.5cm;
  253. font-size: 3.25mm;
  254. width:10cm;
  255. text-align: left;
  256. vertical-align: top;
  257. min-height: 0.7cm;
  258. }
  259. .articulos71{
  260. height: 0.55cm;
  261. }
  262. .art-col71{
  263. width:4.8cm;
  264. font-size: 3.2mm;
  265. text-align: left;
  266. vertical-align: top;
  267. min-height: 0.2cm;
  268. }
  269. .art-col72{
  270. padding-left: 2.5mm;
  271. width:12cm;
  272. font-size: 3.2mm;
  273. text-align: left;
  274. vertical-align: top;
  275. min-height: 0.2cm;
  276. }
  277. .art-col73{
  278. padding-left: 2.5cm;
  279. font-size: 3.2mm;
  280. width:10cm;
  281. text-align: left;
  282. vertical-align: top;
  283. min-height: 0.2cm;
  284. }
  285. .art-col74{
  286. padding-left: 2.5cm;
  287. font-size: 3.2mm;
  288. width:10cm;
  289. text-align: left;
  290. vertical-align: top;
  291. min-height: 0.2cm;
  292. }
  293. .articulos81{
  294. height: 0.55cm;
  295. }
  296. .art-col81{
  297. width:5.5cm;
  298. font-size: 3.25mm;
  299. text-align: left;
  300. vertical-align: top;
  301. min-height: 0.6cm;
  302. }
  303. .art-col82{
  304. width:7cm;
  305. font-size: 3.25mm;
  306. text-align: left;
  307. vertical-align: top;
  308. min-height: 0.6cm;
  309. }
  310. .art-col83{
  311. width:2cm;
  312. font-size: 3.25mm;
  313. text-align: left;
  314. vertical-align: top;
  315. min-height: 0.6cm;
  316. }
  317. .art-col84{
  318. padding-left: 2.5cm;
  319. font-size: 3.25mm;
  320. width:4cm;
  321. text-align: center;
  322. vertical-align: top;
  323. min-height: 0.6cm;
  324. }
  325. .articulos91{
  326. height: 0.55cm;
  327. }
  328. .art-col91{
  329. width:6cm;
  330. font-size: 2.8mm;
  331. text-align: left;
  332. vertical-align: top;
  333. min-height: 0.6cm;
  334. }
  335. .art-col92{
  336. padding-left: 0.2mm;
  337. width:8cm;
  338. font-size: 3.2mm;
  339. text-align: left;
  340. vertical-align: top;
  341. min-height: 0.6cm;
  342. }
  343. .art-col93{
  344. width:2cm;
  345. font-size: 3.25mm;
  346. text-align: left;
  347. vertical-align: top;
  348. min-height: 0.6cm;
  349. }
  350. .art-col94{
  351. padding-left: 0.5cm;
  352. font-size: 3.25mm;
  353. width:2cm;
  354. text-align: center;
  355. vertical-align: top;
  356. min-height: 0.6cm;
  357. }
  358. .divisoria{
  359. height: 0.3cm;
  360. width: 100%;
  361. top: 0px;
  362. }
  363. .divisoria3{
  364. height: 0.9cm;
  365. width: 100%;
  366. top: 0px;
  367. }
  368. .nota_emision_data{
  369. width:15cm;
  370. float: left;
  371. padding-left:9.8cm;
  372. min-height: 0.9cm;
  373. }
  374. .cli_nombre{
  375. width:9cm;
  376. font-size: 3.0mm;
  377. padding-left:3.8cm;
  378. float: left;
  379. min-height: 0.9cm;
  380. }
  381. .fecha_emision_data{
  382. width: 9.0cm;
  383. font-size: 3.2mm;
  384. padding-left:2.8cm;
  385. float: right;
  386. min-height: 0.9cm;
  387. }
  388. .conductor_direccion{
  389. width:9cm;
  390. padding-left:1.8cm;
  391. float: left;
  392. font-size: 3.2mm;
  393. min-height: 0.12cm;
  394. }
  395. .tab_motivos{
  396. font-size:x-small;
  397. border-spacing: 3px;
  398. border-collapse: separate;
  399. }
  400. .cab-articulos{
  401. height: 0.50cm;
  402. clear: both;
  403. }
  404. .borderless td, .borderless th {
  405. border: none !important;
  406. }
  407. .table-condensed>tbody>tr>td {
  408. padding: 1px !important;
  409. }
  410. .table-super-condensed>tbody>tr>td {
  411. padding: 5px !important;
  412. }
  413. .table-condensed2>tbody>tr>td {
  414. padding: 2.5px !important;
  415. }
  416. </style>
  417. <t t-foreach="docs" t-as="o">
  418. <div class="pagina">
  419. <div class="logo"> </div>
  420. <table class="tab-articulos2">
  421. <td class="art-col11">
  422. </td>
  423. <td class="art-col12">
  424. <span t-field="o.partner_id"/>
  425. </td>
  426. <td class="art-col13">
  427. </td>
  428. <td class="art-col14">
  429. <span t-field="o.initial_transfer_date" t-field-options='{"format": "dd/MM/yyyy"}'/>
  430. </td>
  431. </table>
  432. <table class="tab-articulos">
  433. <td class="art-col1">
  434. </td>
  435. <td class="art-col2">
  436. <span t-field="o.partner_dir"/>
  437. </td>
  438. <td class="art-col3">
  439. </td>
  440. <td class="art-col4">
  441. <span t-field="o.partner_ruc"/>
  442. </td>
  443. </table>
  444. <table class="tab-articulos21">
  445. <td class="art-col21">
  446. </td>
  447. <td class="art-col22">
  448. <span t-field="o.initial_transfer_date" t-field-options='{"format": "dd/MM/yyyy"}'/>
  449. </td>
  450. <td class="art-col23">
  451. </td>
  452. <td class="art-col24">
  453. <span t-field="o.finish_transfer_date" t-field-options='{"format": "dd/MM/yyyy"}'/>
  454. </td>
  455. </table>
  456. <div class="divisoria"> </div>
  457. <table class="tab-articulos3">
  458. <td class="art-col31">
  459. </td>
  460. <td class="art-col32">
  461. <span t-field="o.partner_company.street"/>
  462. </td>
  463. <td class="art-col33">
  464. </td>
  465. </table>
  466. <div class="divisoria"> </div>
  467. <table class="tab-articulos42">
  468. <td class="art-col41">
  469. </td>
  470. <td class="art-col42">
  471. <span t-field="o.partner_id.street"/>
  472. </td>
  473. <td class="art-col43">
  474. </td>
  475. <td class="art-col44">
  476. </td>
  477. </table>
  478. <div class="divisoria3"> </div>
  479. <div class="divisoria"> </div>
  480. <table class="tab-articulos52">
  481. <td class="art-col51">
  482. </td>
  483. <td class="art-col52">
  484. <t t-if="o.is_sale == True">Venta</t>
  485. <t t-if="o.is_consignment == True">Consignación</t>
  486. <t t-if="o.is_repair_transfer == True">Transferencia de bienes</t>
  487. <t t-if="o.is_purchase == True">Compra</t>
  488. <t t-if="o.is_return == True">Devolución</t>
  489. <t t-if="o.is_movil_transfer == True">Traslado por emisor móvil</t>
  490. <t t-if="o.is_export == True">Exportación</t>
  491. <t t-if="o.is_import == True">Importación</t>
  492. </td>
  493. <td class="art-col53">
  494. </td>
  495. <td class="art-col54">
  496. Factura Crédito
  497. </td>
  498. </table>
  499. <table class="tab-articulos62">
  500. <td class="art-col61">
  501. </td>
  502. <td class="art-col62">
  503. <span t-field="o.sale_voucher"/>
  504. </td>
  505. <td class="art-col63">
  506. </td>
  507. <td class="art-col64">
  508. </td>
  509. </table>
  510. <div class="divisoria"> </div>
  511. <div class="divisoria"> </div>
  512. <table class="tab-articulos72">
  513. <td class="art-col71">
  514. </td>
  515. <td class="art-col72">
  516. <span t-field="o.vehicle_name"/>
  517. </td>
  518. <td class="art-col73">
  519. </td>
  520. <td class="art-col74">
  521. </td>
  522. </table>
  523. <table class="tab-articulos82">
  524. <td class="art-col81">
  525. </td>
  526. <td class="art-col82">
  527. <span t-field="o.vehicle_plate"/>
  528. </td>
  529. <td class="art-col83">
  530. </td>
  531. <td class="art-col84">
  532. </td>
  533. </table>
  534. <div class="divisoria"> </div>
  535. <div class="divisoria"> </div>
  536. <div class="divisoria"> </div>
  537. <div class="divisoria"> </div>
  538. <div class="divisoria"> </div>
  539. <div class="divisoria"> </div>
  540. <table class="tab-articulos92">
  541. <td class="art-col91">
  542. </td>
  543. <td class="art-col92">
  544. <!-- <span t-field="o.driver_id"/> -->
  545. </td>
  546. <td class="art-col93">
  547. </td>
  548. <td class="art-col94">
  549. <!-- <span t-field="o.driver_id.street"/> -->
  550. </td>
  551. </table>
  552. <div class="divisoria"> </div>
  553. <div class="divisoria"> </div>
  554. <div class="divisoria"> </div>
  555. <div class="divisoria"> </div>
  556. <div class="cab-articulos"> </div>
  557. <div style="height:6.2cm;">
  558. <div style="font-family: Arial;font-size:3.25mm;">
  559. <table class="table borderless table-condensed">
  560. <tbody>
  561. <tr t-foreach="o.nota_line" t-as="l">
  562. <!-- CODIGO -->
  563. <td style="font-size:3.20mm;font-family: Arial;width:2.6cm;overflow: auto; text-align: left;">
  564. <span t-esc="l.product_id.default_code"/>
  565. </td>
  566. <!-- UNIDAD DE MEDIDA -->
  567. <td style="font-size:3.25mm;font-family: Arial;width:1.3cm;overflow: auto; text-align: left;">
  568. <!-- <span t-esc="'{0:,.0f}'.format(l.price_unit)"/> -->
  569. </td>
  570. <!-- NOMBRE DEL PRODUCTO -->
  571. <td style="font-size:3.25mm;font-family: Arial;width:13.00cm;overflow: auto;">
  572. <span t-field="l.product_id.name"/>
  573. </td>
  574. <!-- EXENTAS -->
  575. <td style="font-size:3.25mm;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">
  576. <span t-esc="'%.0f'%l.product_uom_qty"/>
  577. </td>
  578. </tr>
  579. </tbody>
  580. </table>
  581. </div>
  582. </div>
  583. </div>
  584. </t>
  585. </div>
  586. </t>
  587. </t>
  588. </template>
  589. </data>
  590. </openerp>