diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-06-23 17:08:34 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2010-06-23 17:08:34 +0300 |
| commit | 7921eca4c981aede3945273ce68d8be91dad304e (patch) | |
| tree | 481a970c4e21c496be3cf726e56d748ccc4a7969 /addons/document/document_view.xml | |
| parent | c6e0309c9bfd692071ef9d119b6d95029fa7386b (diff) | |
| parent | d2cb81281449f500743dab06257f2ea848b2b3e7 (diff) | |
Merge remote branch 'origin/dms-bugfix' into trunk-fix-webdav
bzr revid: p_christ@hol.gr-20100623140834-osouha6ld3n376m2
Diffstat (limited to 'addons/document/document_view.xml')
| -rw-r--r-- | addons/document/document_view.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index ad56a50d06e..31d3c45f28c 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -85,6 +85,7 @@ <field name="user_id"/> <field name="parent_id"/> <field name="storage_id" /> + <field name="company_id" groups="base.group_multi_company" widget="selection"/> <notebook colspan="4"> <page string="Definition"> <separator string="Directory Type" colspan="4"/> @@ -226,7 +227,8 @@ <group colspan="4" col="6"> <field name="name" select="1" /> <field name="type"/> - <field name="parent_id"/> + <field name="parent_id"/> + <field name="company_id" groups="base.group_multi_company" widget="selection"/> </group> <notebook colspan="4"> <page string="Attachment"> @@ -291,11 +293,15 @@ help="Filter on my Attachment" /> </field> <field name="partner_id"/> + <field name="company_id" groups="base.group_multi_company"/> <newline/> <group expand="0" string="Group By..."> <filter string="Partner" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}" /> <filter string="Directory" icon="terp-folder-green" domain="[]" context="{'group_by':'parent_id'}"/> + <filter string="Type" domain="[]" context="{'group_by':'type'}"/> + <filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/> + <filter string="Company" icon="terp-personal" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/> </group> </search> </field> @@ -319,6 +325,7 @@ </record> <record model="ir.actions.act_window" id="action_document_file_form"> + <field name="name">Documents</field> <field name="type">ir.actions.act_window</field> <field name="res_model">ir.attachment</field> <field name="name">Document</field> |
