product_sin_variant_view.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="list_product_sin_variant" model="product.template" string="Producto sin Variantes " report_type="qweb-pdf"
  5. name="report_product_variant.product_sin_variant_view" file="report_product_variant.product_sin_variant_view" />
  6. <template id="report_product_variant.product_sin_variant_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 Producto sin Variantes</strong></h2>
  21. <table class="table table-condensed">
  22. <thead class="crm_tcab">
  23. <tr class="active">
  24. <th><strong>Producto</strong></th>
  25. </tr>
  26. </thead>
  27. <t t-foreach="docs" t-as="o">
  28. <tbody class="crm_tbody">
  29. <tr>
  30. <p t-if="o.product_variant_count == 0 ">
  31. <td> <span t-field="o.name"/> </td>
  32. </p>
  33. </tr>
  34. </tbody>
  35. </t>
  36. </table>
  37. </div>
  38. </t>
  39. </t>
  40. </template>
  41. </data>
  42. </openerp>