diff options
| author | Ujjvala Collins (OpenERP) <uco@tinyerp.com> | 2011-01-27 15:10:40 +0530 |
|---|---|---|
| committer | Ujjvala Collins (OpenERP) <uco@tinyerp.com> | 2011-01-27 15:10:40 +0530 |
| commit | 1f9880c01d394f96d7fc2383caab8cc6415d7af5 (patch) | |
| tree | 68e67c977947d7fea630e39da5b9404ec185736c /addons/document/document_data.xml | |
| parent | 7b8f6f2a37ce949beb5421ab97e270bd206cca4a (diff) | |
| parent | c456ff0d7636fd722f17e366cb1aa696a101de63 (diff) | |
[MERGE]
bzr revid: uco@tinyerp.com-20110127094040-zpi4lv8ztbgtz7om
Diffstat (limited to 'addons/document/document_data.xml')
| -rw-r--r-- | addons/document/document_data.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/document/document_data.xml b/addons/document/document_data.xml index d32256f63a9..f46aa1b47a3 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> |
