[FIX] document,mail: show only personal attachments by default

bzr revid: odo@openerp.com-20120516125301-qj3r95au12pf68qd
This commit is contained in:
Olivier Dony
2012-05-16 14:53:01 +02:00
parent 853109c1f6
commit f5d2953684
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -296,7 +296,8 @@
<field name="user_id">
<filter icon="terp-personal"
domain="[('user_id','=',uid)]"
help="Filter on my documents" />
help="Filter on my documents"
name="my_attachments"/>
</field>
<field name="parent_id" />
<field name="index_content"/>
@@ -25,7 +25,7 @@
<field name="body_text" colspan="4" nolabel="1" height="300" width="300"/>
</page>
<page string="Attachments">
<field name="attachment_ids" colspan="4" nolabel="1"/>
<field name="attachment_ids" colspan="4" nolabel="1" context="{'search_default_my_attachments':True}"/>
</page>
</notebook>
<group col="4" colspan="4">