[IMP] base: allow to filter actions on model

This commit is contained in:
Richard Mathot
2016-07-29 14:59:30 +02:00
parent f543a28a0f
commit 599f3bc562
+1
View File
@@ -127,6 +127,7 @@
<field name="name"
filter_domain="['|', '|', '|', '|', ('name','ilike',self), ('model','ilike',self), ('type','ilike',self), ('report_name','ilike',self), ('report_type','ilike',self)]"
string="Report"/>
<field name="model" filter_domain="[('model','=', self)]" string="Model"/>
<group expand="0" string="Group By" colspan="4">
<filter string="Report Type" domain="[]" context="{'group_by':'report_type'}"/>
<filter string="Report Model" domain="[]" context="{'group_by':'model'}"/>