diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-07-13 13:29:58 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2010-07-13 13:29:58 +0300 |
| commit | 2d3d861a3e4317a71fb58307ac9d8a2866c6999c (patch) | |
| tree | 9882431388772815dd94afb4470b0d93eded8f2b /addons/document/document_view.xml | |
| parent | 403a71fbaab7a8b607934347ccf6e7309f875f1a (diff) | |
Document directory: "find_all" field for resource dirs.
A (mis-)feature of the previous code was that in resource directories, it
would only list attachments that would have those dirs as parents. This
means that we couldn't have another categorisation, that would yield some
of the same attachments.
bzr revid: p_christ@hol.gr-20100713102958-nk40nckc41uxyzri
Diffstat (limited to 'addons/document/document_view.xml')
| -rw-r--r-- | addons/document/document_view.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index 693d7370567..c886b6fc9d4 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -82,6 +82,7 @@ <group colspan="4" col="4" attrs="{'invisible': [('type','!=','ressource')]}"> <field name="ressource_type_id" on_change="onchange_content_id(ressource_type_id)" attrs="{'required': [('type','=','ressource')] }"/> + <field name="resource_find_all" groups="base.group_extended" /> <newline/> <field name="resource_field" domain="[('model_id','=',ressource_type_id), ('ttype', 'in', ('char', 'selection', 'date', 'datetime'))]"/> <field name="ressource_tree"/> |
