From b2d8a448b47835b744e1defeef257353c6081d12 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 10 Oct 2012 22:18:23 +0200 Subject: [PATCH] [IMP] document names bzr revid: fp@openerp.com-20121010201823-rgv2zv73urxz3ysh --- addons/document/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/document/document.py b/addons/document/document.py index 3ae783f49e7..e2fa2cecd1e 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -36,7 +36,7 @@ DMS_ROOT_PATH = tools.config.get('document_path', os.path.join(tools.config['roo class document_file(osv.osv): _inherit = 'ir.attachment' - _rec_name = 'datas_fname' + _rec_name = 'name' def _attach_parent_id(self, cr, uid, ids=None, context=None):