diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2012-10-10 22:18:23 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2012-10-10 22:18:23 +0200 |
| commit | b2d8a448b47835b744e1defeef257353c6081d12 (patch) | |
| tree | a9d2015d553a147d1ec96fb16997ceec5f696b1a /addons/document/document.py | |
| parent | 20fefed4c76e3007510026e173021462af4381d7 (diff) | |
[IMP] document names
bzr revid: fp@openerp.com-20121010201823-rgv2zv73urxz3ysh
Diffstat (limited to 'addons/document/document.py')
| -rw-r--r-- | addons/document/document.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
