From 752dcc761caf15cb532b1e787e9a378a8112a6a4 Mon Sep 17 00:00:00 2001 From: Christophe Simonis <chs@odoo.com> Date: Tue, 3 Apr 2018 15:28:00 +0200 Subject: [PATCH] [IMP] core: load geoip2 database by default --- openerp/tools/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/tools/config.py b/openerp/tools/config.py index d1cbc306d888..60fa9c2d73df 100644 --- a/openerp/tools/config.py +++ b/openerp/tools/config.py @@ -251,7 +251,7 @@ class configmanager(object): type="int") group.add_option("--unaccent", dest="unaccent", my_default=False, action="store_true", help="Use the unaccent function provided by the database when available.") - group.add_option("--geoip-db", dest="geoip_database", my_default='/usr/share/GeoIP/GeoLiteCity.dat', + group.add_option("--geoip-db", dest="geoip_database", my_default='/usr/share/GeoIP/GeoLite2-City.mmdb', help="Absolute path to the GeoIP database file.") parser.add_option_group(group) -- GitLab