Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions subscription_oca/views/product_template_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,22 @@
</xpath>
</field>
</record>

<record id="product_template_search_view" model="ir.ui.view">
<field name="name">product.template.search.suscribable.filter</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_search_view" />
<field name="arch" type="xml">
<field name="categ_id" position="after">
<field name="subscribable" />
</field>
<group position="before">
<filter
string="Suscribable products"
name="subsproducts"
domain="[('subscribable','=', True)]"
/>
</group>
</field>
</record>
</odoo>
15 changes: 0 additions & 15 deletions subscription_oca/views/sale_subscription_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -374,21 +374,6 @@
</field>
</record>

<record id="view_product_suscribable_filter" model="ir.ui.view">
<field name="name">product.suscribable.filter</field>
<field name="model">product.template</field>
<field name="arch" type="xml">
<search>
<field name="subscribable" />
<filter
string="Suscribable products"
name="subsproducts"
domain="[('subscribable','=', True)]"
/>
</search>
</field>
</record>

<record id="view_subscription_close_reason_tree" model="ir.ui.view">
<field name="name">view.subscription.close.reason.tree</field>
<field name="model">sale.subscription.close.reason</field>
Expand Down