diff options
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 |
