[FIX] account.invoice.report: search view should not OR the filters Invoice/Refund filters with the Customer/Supplier ones
These filters are typically checked alternatively to obtain the Customer Invoices or Customer Refunds or Supplier Invoices or Supplier Refunds, so these 2 series of filters must be combined with AND. This requires an extra separator in the search view. bzr revid: odo@openerp.com-20130122105227-dbhltam9alfr8i9q
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
<separator/>
|
||||
<filter icon="terp-personal" string="Customer" name="customer" domain="['|', ('type','=','out_invoice'),('type','=','out_refund')]" help="Customer Invoices And Refunds"/>
|
||||
<filter icon="terp-personal" string="Supplier" domain="['|', ('type','=','in_invoice'),('type','=','in_refund')]" help="Supplier Invoices And Refunds"/>
|
||||
<separator/>
|
||||
<filter icon="terp-dolar" string="Invoice" domain="['|', ('type','=','out_invoice'),('type','=','in_invoice')]" help="Customer And Supplier Invoices"/>
|
||||
<filter icon="terp-dolar_ok!" string="Refund" domain="['|', ('type','=','out_refund'),('type','=','in_refund')]" help="Customer And Supplier Refunds"/>
|
||||
<field name="partner_id"/>
|
||||
|
||||
Reference in New Issue
Block a user