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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Nov 24
|
1836 | ||
|
2
Oct 24
|
329 | ||
|
2
Aug 24
|
357 | ||
|
3
Jul 24
|
6434 | ||
|
0
Apr 24
|
360 |