[IMP] document names

bzr revid: fp@openerp.com-20121010201823-rgv2zv73urxz3ysh
This commit is contained in:
Fabien Pinckaers 2012-10-10 22:18:23 +02:00
parent 20fefed4c7
commit b2d8a448b4
1 changed files with 1 additions and 1 deletions

View File

@ -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):