[IMP] res_partner: reintroduce filters 'Customers' and 'Suppliers' in search form

bzr revid: rco@openerp.com-20120620094714-jexi93e701ui4d8q
This commit is contained in:
Raphael Collet 2012-06-20 11:47:14 +02:00
parent a8922e5dde
commit d8839589d9
1 changed files with 3 additions and 0 deletions

View File

@ -262,6 +262,9 @@
<separator orientation="vertical"/>
<filter string="Persons" name="type_person" icon="terp-personal" domain="[('is_company','=',0)]"/>
<filter string="Companies" name="type_company" icon="terp-partner" domain="[('is_company','=',1)]"/>
<separator orientation="vertical"/>
<filter string="Customers" name="customer" icon="terp-personal" domain="[('customer','=',1)]" help="Customer Partners"/>
<filter string="Suppliers" name="supplier" icon="terp-personal" domain="[('supplier','=',1)]" help="Supplier Partners"/>
</group>
<newline />
<group expand="0" string="Group By...">