Hello i have question anyone help plz
i have install odoo 10 but cannot add filter to config file
dbfilter = ^%h$
list_db = False
it work for subdomain but when i try to add www.domain.com it didn't work. plz help.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello i have question anyone help plz
i have install odoo 10 but cannot add filter to config file
dbfilter = ^%h$
list_db = False
it work for subdomain but when i try to add www.domain.com it didn't work. plz help.
Hello i try like this but it seem to be doesn't work.
# WEB
group = optparse.OptionGroup(parser, "Web interface Configuration")
#comment the original code by Chau Le
#group.add_option("--db-filter", dest="dbfilter", my_default='.*',
group.add_option("--db-filter", dest="dbfilter", my_default='-',
help="Filter listed database", metavar="REGEXP") parser.add_option_group(group)
Try to edit /usr/lib/python2.7/site-packages/odoo/tools/config.py and change:
From:
# WEB group = optparse.OptionGroup(parser, "Web interface Configuration") group.add_option("--db-filter", dest="dbfilter", my_default='.*'.
To:
# WEB group = optparse.OptionGroup(parser, "Web interface Configuration") group.add_option("--db-filter", dest="dbfilter", my_default='-'.
...and then restart your Odoo.