Good evening,
I have made a custom report and it works fine. What I would like is to have only the stockable products on my report and not all products, no it also shows service products and We don't need that. Is there a easy way to do this.
/
.product_id.categ_id.name or ''"/>
I hope someone can help me.
Giel van Maarseveen
<t t-if="len(o.order_line)>0">
<span id="t1f_1_m" class="t s4"><strong><t t-esc="int(o.order_line[0].product_uom_qty)"/></strong></span>
<span id="t1e_1_m" class="t s4"><strong><t t-esc="o.order_line[0].product_id.display_name[:47]"/></strong></span>
<span id="t1g_1_m" class="t s4"><strong><t t-esc="o.order_line[0].product_packaging.name or ''"/></strong><strong> / </strong><strong><t t-esc="o.order_line[0].product_packaging.qty or ''"/></strong></span>
<span id="t1h_1_m" class="t s4"><strong><t t-esc="o.order_line[0].product_id.categ_id.name or ''"/></strong></span>
</t>