summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authorTwinkle Christian (OpenERP) <tch@tinyerp.com>2012-07-31 16:58:04 +0530
committerTwinkle Christian (OpenERP) <tch@tinyerp.com>2012-07-31 16:58:04 +0530
commitcb1c6c08af0dad5380f1457a18d2cdb095a767bc (patch)
tree6256e6375230444cca96c4ab01d1b07fdff72cb8 /addons/document/document_view.xml
parent2a7e9cecabd8f7d886508da9fdf1ccf6cd51e1bc (diff)
[IMP]Improve search view in all modules
bzr revid: tch@tinyerp.com-20120731112804-a0akxtqr1z0uew6w
Diffstat (limited to 'addons/document/document_view.xml')
-rw-r--r--addons/document/document_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index fa65d75c875..3f5768b8c4a 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -171,11 +171,11 @@
<field name="arch" type="xml">
<search string="Search Document Directory">
<field name="name" string="Document Directory"/>
+ <filter string="Static" domain="[('type','=','directory')]"/>
+ <filter string="Resources" icon="terp-personal" domain="[('type','=','ressource')]"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="storage_id" />
<field name="user_id" />
- <filter string="Static" domain="[('type','=','directory')]"/>
- <filter string="Resources" icon="terp-personal" domain="[('type','=','ressource')]"/>
<group expand="0" string="Group By...">
<filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>