|
@@ -0,0 +1,44 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+ <data>
|
|
|
+ <report id="list_product_sin_variant" model="product.template" string="Producto sin Variantes " report_type="qweb-pdf"
|
|
|
+ name="report_product_variant.product_sin_variant_view" file="report_product_variant.product_sin_variant_view" />
|
|
|
+
|
|
|
+ <template id="report_product_variant.product_sin_variant_view">
|
|
|
+ <t t-call="report.html_container">
|
|
|
+ <t t-call="report.internal_layout">
|
|
|
+ <div class="page">
|
|
|
+ <style type="text/css">
|
|
|
+ .crm_tcab{
|
|
|
+ font-size: 3mm;
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ }
|
|
|
+ .crm_tbody{
|
|
|
+ font-size: 2.8mm;
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+ <h2 class="text-center"><strong>Listado Producto sin Variantes</strong></h2>
|
|
|
+ <table class="table table-condensed">
|
|
|
+ <thead class="crm_tcab">
|
|
|
+ <tr class="active">
|
|
|
+ <th><strong>Producto</strong></th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
+ <tbody class="crm_tbody">
|
|
|
+ <tr>
|
|
|
+ <p t-if="o.product_variant_count == 0 ">
|
|
|
+ <td> <span t-field="o.name"/> </td>
|
|
|
+ </p>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </t>
|
|
|
+
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </t>
|
|
|
+ </template>
|
|
|
+ </data>
|
|
|
+</openerp>
|