summaryrefslogtreecommitdiff
path: root/addons/document/document.py
diff options
context:
space:
mode:
authorForam Katharotiya (OpenERP) <fka@tinyerp.com>2012-06-18 11:48:04 +0530
committerForam Katharotiya (OpenERP) <fka@tinyerp.com>2012-06-18 11:48:04 +0530
commitceb22841d6b79db8be8d29597f2d624de5759abf (patch)
tree6719b2cd440e792893f921216f5203ce4dfc564a /addons/document/document.py
parentcc703765804a9dbed9c27397740e25356d2488a6 (diff)
[IMP] add default data in document_data.xml
bzr revid: fka@tinyerp.com-20120618061804-9i8ypqq2m8g7eab6
Diffstat (limited to 'addons/document/document.py')
-rw-r--r--addons/document/document.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/document/document.py b/addons/document/document.py
index 92ece063a47..6cd47569f0f 100644
--- a/addons/document/document.py
+++ b/addons/document/document.py
@@ -140,8 +140,7 @@ class document_file(osv.osv):
_defaults = {
'user_id': lambda self, cr, uid, ctx:uid,
- 'file_size': lambda self, cr, uid, ctx:0,
- 'parent_id': __get_def_directory
+ 'file_size': lambda self, cr, uid, ctx:0
}
_sql_constraints = [
# filename_uniq is not possible in pure SQL