summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-10-17 09:31:46 +0200
committerChristophe Matthieu <chm@openerp.com>2012-10-17 09:31:46 +0200
commit23e20e95d41d5435cf3e5bfd136a6f52efa8a80f (patch)
tree1969e768754adbcb6976a8b32c3eb5d35e778ac4 /addons/document/document_view.xml
parente8bd522f6be7fdeb1b7c916838193d7516833121 (diff)
parent8a38ee944e02d6cd6cb18b87b962b67e510906a9 (diff)
[MERGE] from trunk
bzr revid: chm@openerp.com-20121017073146-9m5s2hffeekmj068
Diffstat (limited to 'addons/document/document_view.xml')
-rw-r--r--addons/document/document_view.xml12
1 files changed, 3 insertions, 9 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index b631583fb27..54776c4d36e 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -228,6 +228,9 @@
<field name="priority" eval="1"/>
<field name="inherit_id" ref="base.view_attachment_form"/>
<field name="arch" type="xml">
+ <xpath expr="//field[@name='datas_fname']" position="replace">
+ <field name="datas_fname" invisible="1" on_change="onchange_file(datas_fname)"/>
+ </xpath>
<field name="url" position="after">
<field name="user_id"/>
</field>
@@ -338,15 +341,6 @@
<field name="value" eval="'ir.actions.act_window,%d'%action_document_file_directory_form"/>
</record>
- <record model="ir.ui.view" id="view_attachment_form_inherit">
- <field name="name">ir.attachment.view.inherit</field>
- <field name="model">ir.attachment</field>
- <field name="inherit_id" ref="base.view_attachment_form"/>
- <field name="arch" type="xml">
- <field name="datas_fname" position = "replace" >
- </field>
- </field>
- </record>
<record model="ir.ui.view" id="view_process_node_form_inherit1">
<field name="name">process.node.form</field>