diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2010-10-14 15:56:54 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2010-10-14 15:56:54 +0530 |
| commit | 10ecb719bd9f013765cbb69d1c36b9e093edadf2 (patch) | |
| tree | fc415ed7417786666a0c53c3f90d6a406ed6619f /addons/document/document.py | |
| parent | 2b29d4784d38f184b19b449ede5b01a1f6edb1d4 (diff) | |
[IMP] project_long_term: improve gantt view
bzr revid: hmo@tinyerp.com-20101014102654-e3wkawf339sc9ido
Diffstat (limited to 'addons/document/document.py')
| -rw-r--r-- | addons/document/document.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/document/document.py b/addons/document/document.py index 6c2a6b6aff5..92a00f3222c 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -88,7 +88,6 @@ class document_file(osv.osv): 'parent_id': fields.many2one('document.directory', 'Directory', select=1, required=True), 'index_content': fields.text('Indexed Content'), 'partner_id':fields.many2one('res.partner', 'Partner', select=1), - 'company_id': fields.many2one('res.company', 'Company'), 'file_size': fields.integer('File Size', required=True), 'file_type': fields.char('Content Type', size=128), @@ -102,7 +101,6 @@ class document_file(osv.osv): return dirobj._get_root_directory(cr, uid, context) _defaults = { - 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'ir.attachment', context=c), 'user_id': lambda self, cr, uid, ctx:uid, 'file_size': lambda self, cr, uid, ctx:0, 'parent_id': __get_def_directory |
