-
Notifications
You must be signed in to change notification settings - Fork 0
/
res_partner_view.xml
32 lines (26 loc) · 1.25 KB
/
res_partner_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" ?>
<openerp>
<data>
<!-- Fix search parameters of default Customers/Suppliers form -->
<record id="view_res_partner_filter" model="ir.ui.view">
<field name="name">res.partner.select.inherited</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_res_partner_filter"/>
<field name="arch" type="xml">
<xpath expr="/search/field[@name='name']" position="replace">
<field name="name" filter_domain="[('display_name', 'ilike', self)]"/>
<!--field name="name" filter_domain="['|',('display_name','ilike',self),('email,'ilike',self)]"/-->
</xpath>
</field>
</record>
<record id="base.action_partner_customer_form" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
<record id="base.action_partner_supplier_form" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
<record id="base.action_partner_form_view1" model="ir.actions.act_window.view">
<field eval="10" name="sequence"/>
</record>
</data>
</openerp>