diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 9c35bbee4ab..2a1ded90d5a 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -1124,8 +1124,8 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web. _(names).pluck(1).join(', ')); record.set(column.id, ids); }); - // temp empty value - record.set(column.id, false); + // temporary empty display name + record.set(column.id + '__display', false); } } return column.format(record.toForm().data, { diff --git a/openerp/modules/module.py b/openerp/modules/module.py index 2f5d909de96..cbc47be1d12 100644 --- a/openerp/modules/module.py +++ b/openerp/modules/module.py @@ -121,7 +121,7 @@ def get_module_path(module, downloaded=False, display_warning=True): """ initialize_sys_path() for adp in ad_paths: - if os.path.exists(opj(adp, module)) or os.path.exists(opj(adp, '%s.zip' % module)): + if os.path.exists(opj(adp, module, MANIFEST)) or os.path.exists(opj(adp, '%s.zip' % module)): return opj(adp, module) if downloaded: