Skip to content

Commit

Permalink
[ADD] Reseller filter on partner search view
Browse files Browse the repository at this point in the history
  • Loading branch information
tarteo committed Oct 8, 2024
1 parent 0b0e660 commit ef2d7af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions argocd_sale/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,14 @@
</xpath>
</field>
</record>

<record id="view_res_partner_filter" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_res_partner_filter" />
<field name="arch" type="xml">
<xpath expr="//filter[@name='type_company']" position="after">
<filter string="Resellers" name="resellers" domain="[('is_reseller', '=', True)]"/>
</xpath>
</field>
</record>
</odoo>

0 comments on commit ef2d7af

Please sign in to comment.