summaryrefslogtreecommitdiff
path: root/addons/document
diff options
context:
space:
mode:
authorHarry (OpenERP) <hmo@tinyerp.com>2010-09-27 17:12:33 +0530
committerHarry (OpenERP) <hmo@tinyerp.com>2010-09-27 17:12:33 +0530
commit2ae7fdcb7536b8098b84d0bb62f65d4086bc7586 (patch)
tree002d46694ada7821399b03b2f23c1abaaaa24809 /addons/document
parent98f4e0a2b4b7a3495323c8bdf08d2e95ba989d6b (diff)
parenta9e8c8fd17de66f0902a0206d5163b61efc191c3 (diff)
[MERGE] trunk-dev-addons2 branch
bzr revid: hmo@tinyerp.com-20100927114233-jz3ovtj6s8ut2m4n
Diffstat (limited to 'addons/document')
-rw-r--r--addons/document/document_view.xml18
1 files changed, 8 insertions, 10 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index f6e21f338e7..69c1c5e2cc3 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -44,7 +44,7 @@
<field name="name" />
<newline/>
<group expand="0" string="Group By..." groups="base.group_extended">
- <filter string="Type" domain="[]" context="{'group_by':'type'}"/>
+ <filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
</group>
</search>
</field>
@@ -80,7 +80,7 @@
<separator string="Directory Type" colspan="4"/>
<field name="type"/>
<group colspan="4" col="4" attrs="{'invisible': [('type','!=','ressource')]}">
- <field name="ressource_type_id" on_change="onchange_content_id(ressource_type_id)"
+ <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/>
@@ -93,7 +93,7 @@
<field name="ressource_parent_type_id"/>
<field name="ressource_id" select="2" readonly="1"/>
</group>
-
+
</page>
<page string="Generated Files" groups="base.group_extended">
<label colspan="4" string="For each entry here, virtual files will appear in this folder." />
@@ -168,7 +168,7 @@
<field name="storage_id" />
<newline/>
<group expand="0" string="Group By..." groups="base.group_extended">
- <filter string="Type" domain="[]" context="{'group_by':'type'}"/>
+ <filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
<filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Storage" domain="[]" context="{'group_by':'storage_id'}"/>
</group>
@@ -282,10 +282,9 @@
<field name="model">ir.attachment</field>
<field name="type">search</field>
<field name="arch" type="xml">
- <search string="IR Attachment">
- <filter icon="terp-go-month" string="Recent Month"
- help="Attachment modified/created last 30 days"
- domain="[('create_date','&lt;=', time.strftime('%%Y-%%m-%%d')),('create_date','&gt;',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%%Y-%%m-%%d'))]"
+ <search string="Document">
+ <filter icon="terp-go-month" string="Month"
+ domain="[('create_date','&lt;=', time.strftime('%%Y-%%m-%%d')),('create_date','&gt;=',time.strftime('%%Y-%%m-01'))]"
/>
<separator orientation="vertical"/>
<field name="name"/>
@@ -293,7 +292,7 @@
<field name="user_id">
<filter icon="terp-personal"
domain="[('user_id','=', False)]"
- help="Filter on my Attachment" />
+ help="Filter on my documents" />
</field>
<field name="partner_id"/>
<field name="company_id" groups="base.group_multi_company"/>
@@ -332,7 +331,6 @@
<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>
<field name="view_type">form</field>
<field name="search_view_id" ref="view_attach_filter"/>
<field name="help">Documents give your access to all attached documents; it's a repository of all attached documents (mails, documents attached to a project, etc.)</field>