Odoo Help

0
1 Answer
0
YannickB
6/10/14, 4:48 AM

I had no choice but to replace

    r = openerp.tools.config['dbfilter'].replace('%h', h).replace('%d', d)


by

    r = openerp.tools.config['dbfilter'].replace('%h', h).replace('%d', d).replace('-','_')

in server/openerp/http.py. Not really beautiful but at least it works.

If someone know a way to replace - by _ directly in the regular expression, it would be great.

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now