report_productlist.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report
  5. id="report_productlist_id"
  6. string="Listado de Precio de Productos"
  7. model="report.productlist"
  8. report_type="qweb-pdf"
  9. file="report_product_list.report_productlist"
  10. name="report_product_list.report_productlist"
  11. />
  12. <template id="report_productlist">
  13. <t t-call="report.html_container">
  14. <t t-call="report.external_layout">
  15. <div class="page">
  16. <style type="text/css">
  17. .crm_tcab{
  18. font-size: 3mm;
  19. font-family: Arial, Helvetica, sans-serif;
  20. }
  21. .crmc_tbody{
  22. font-size: 2.8mm;
  23. font-family: Arial, Helvetica, sans-serif;
  24. }
  25. .taxtotal{
  26. font-size: 2.8mm;
  27. }
  28. .total{
  29. font-size: 2.8mm;
  30. }
  31. .untotal{
  32. font-size: 2.8mm;
  33. }
  34. .logo1{
  35. width: 100%;
  36. top: 1.5cm;
  37. }
  38. </style>
  39. <h4 class="text-center">Listado de precios de Producto</h4>
  40. <div class="logo1"> </div>
  41. <table class="table table-bordered">
  42. <thead class="crm_tcab">
  43. <tr class="active">
  44. <th class="text-left">Codigo</th>
  45. <th class="text-left">Descripcion</th>
  46. <th class="text-left">Lista de Precio</th>
  47. <th class="text-left">Precio</th>
  48. <th class="text-left">Compañia</th>
  49. </tr>
  50. </thead>
  51. <t t-foreach="docs" t-as="o">
  52. <tbody class="crmc_tbody">
  53. <td class="text-left">
  54. <span t-field="o.product_id"/>
  55. </td>
  56. <td class="text-left">
  57. <span t-field="o.name_template"/>
  58. </td>
  59. <td class="text-left">
  60. <span t-field="o.list_price"/>
  61. </td>
  62. <td class="text-right">
  63. <span t-field="o.price_surcharge"/>
  64. </td>
  65. <td class="text-left">
  66. <span t-field="o.company_id"/>
  67. </td>
  68. </tbody>
  69. </t>
  70. </table>
  71. </div>
  72. </t>
  73. </t>
  74. </template>
  75. </data>
  76. </openerp>