print_product_standard_view.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="list_coste_product" model="product.template" string="Precio Coste de Producto" report_type="qweb-pdf"
  5. name="report_product.print_product_standard_view" file="report_product.print_product_standard_view" />
  6. <template id="print_product_standard_view">
  7. <t t-call="report.html_container">
  8. <t t-call="report.internal_layout">
  9. <div class="page">
  10. <style type="text/css">
  11. .crm_tcab{
  12. font-size: 3mm;
  13. font-family: Arial, Helvetica, sans-serif;
  14. }
  15. .crm_tbody{
  16. font-size: 2.8mm;
  17. font-family: Arial, Helvetica, sans-serif;
  18. }
  19. </style>
  20. <h2 class="text-center"><strong>Listado de Precio Coste de Productos</strong></h2>
  21. <table class="table table-condensed">
  22. <thead class="crm_tcab">
  23. <tr class="active">
  24. <th><strong>Producto</strong></th>
  25. <th><strong>Referencia de Fabrica</strong></th>
  26. <th><strong>Precio de Coste</strong></th>
  27. <th><strong>Precio de Venta</strong></th>
  28. </tr>
  29. </thead>
  30. <t t-foreach="docs" t-as="o">
  31. <tbody class="crm_tbody">
  32. <tr>
  33. <td> <span t-field="o.name"/> </td>
  34. <td> <span t-field="o.factory_reference"/> </td>
  35. <td> <span t-field="o.standard_price"/> </td>
  36. <td> <span t-field="o.list_price"/> </td>
  37. </tr>
  38. </tbody>
  39. </t>
  40. </table>
  41. </div>
  42. </t>
  43. </t>
  44. </template>
  45. </data>
  46. </openerp>