[FIX] document,mail: show only personal attachments by default
bzr revid: odo@openerp.com-20120516125301-qj3r95au12pf68qd
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user