summaryrefslogtreecommitdiff
path: root/addons/document/document_data.xml
diff options
context:
space:
mode:
authorMustufa Rangwala <mra@mra-laptop>2011-01-17 11:04:24 +0530
committerMustufa Rangwala <mra@mra-laptop>2011-01-17 11:04:24 +0530
commit68f406f77ba5ce5a537d7427131eaf54dba919e0 (patch)
treec4c204c3f34756e9166a2e99966d89f0b6dcdd8f /addons/document/document_data.xml
parent6cdbba537972ece9c91f68af8eb0e57c8dbeff26 (diff)
parentacc5c03dfb8aad182712dcff5bfce04c4a2e5c10 (diff)
[MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20110117053424-jijqj9nt2qupmczn
Diffstat (limited to 'addons/document/document_data.xml')
-rw-r--r--[-rwxr-xr-x]addons/document/document_data.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/document/document_data.xml b/addons/document/document_data.xml
index d32256f63a9..f46aa1b47a3 100755..100644
--- a/addons/document/document_data.xml
+++ b/addons/document/document_data.xml
@@ -99,8 +99,11 @@
<field name="user_id" eval="False"/>
<field name="parent_id" ref="dir_root"/>
<field name="ressource_id">0</field>
-
</record>
+ <!-- After we have setup the root directory, migrate the attachments
+ to point to that. -->
+ <function model="ir.attachment" name="_attach_parent_id"/>
+
</data>
</openerp>