[FIX] registry: stupid typo

bzr revid: rco@openerp.com-20140409135225-6ks1kbuchba7u4li
This commit is contained in:
Raphael Collet 2014-04-09 15:52:25 +02:00
parent 980f6fc4b1
commit be0096c4a7
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Registry(Mapping):
self._any_cache_cleared = False
cr = self.cursor()
has_unaccent = openerp.modules._db.has_unaccent(cr)
has_unaccent = openerp.modules.db.has_unaccent(cr)
if openerp.tools.config['unaccent'] and not has_unaccent:
_logger.warning("The option --unaccent was given but no unaccent() function was found in database.")
self.has_unaccent = openerp.tools.config['unaccent'] and has_unaccent