summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-05-13 13:12:45 +0200
committerRaphael Collet <rco@openerp.com>2015-07-06 16:58:04 +0200
commitcd925255b7d78d139e2213806926f807537c6e05 (patch)
tree05ff65b5758a1c0edfc575f7983301fecbffd778 /addons/document/document_view.xml
parentf2be4715589fb068e043f217734925eb3d045a7a (diff)
[FIX] addons: view extensions are no longer based on attribute `string`
In view inheritance, selecting an element based on the attribute `string` is broken, since this attribute may be translated before the inheritance is applied. This fixes existing views to avoid such selections.
Diffstat (limited to 'addons/document/document_view.xml')
-rw-r--r--addons/document/document_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index 7afaed118b7..8dafdc37be4 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -207,7 +207,7 @@
<field name="model">ir.attachment</field>
<field name="inherit_id" ref="base.view_attachment_search"/>
<field name="arch" type="xml">
- <filter string="Owner" position="replace">
+ <filter name="owner" position="replace">
<filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="Directory" icon="terp-folder-green" domain="[]" context="{'group_by':'parent_id'}"/>