product_print_category_supermarket: add product.template filter to_print

This commit is contained in:
Luis 2025-07-18 11:37:55 +02:00
parent 0f02b0bdec
commit 7ca15f9aee

View file

@ -26,11 +26,11 @@
<field name="inherit_id" ref="product.product_template_search_view" />
<field name="arch" type="xml">
<xpath expr="//filter[@name='services']" position="before">
<!-- <filter
<filter
string="To print"
name="products_ready_to_print_filter"
domain="[('to_print', '=', True)]"
/> -->
domain="[('product_variant_ids.to_print', '=', True)]"
/>
<separator />
</xpath>
</field>