From be0096c4a753d9eed336f899c18c92f1aaf0223b Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Wed, 9 Apr 2014 15:52:25 +0200 Subject: [PATCH] [FIX] registry: stupid typo bzr revid: rco@openerp.com-20140409135225-6ks1kbuchba7u4li --- openerp/modules/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/modules/registry.py b/openerp/modules/registry.py index 385056fecce..ef6aaf19d5a 100644 --- a/openerp/modules/registry.py +++ b/openerp/modules/registry.py @@ -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