好文,支持
O
ooJerry
@ooJerry
-
Ubuntu下用PyCharm 运行调试 Odoo 8.0 -
Pycharm 联合调试OpenERP服务端和客户端感谢Tiger
-
Ubuntu <class 'babel.core.UnknownLocaleError'> 的解决方法。sudo apt-get install --reinstall python-babel-localedata
引用自
https://www.odoo.com/forum/help-1/question/solved-how-to-solve-unknownlocaleerror-unknown-locale-en-9668 -
[分享]openerp-server.conf 中配置 dbfilter 参数无效的解决办法def db_filter(dbs, httprequest=None):
httprequest = httprequest or request.httprequest
h = httprequest.environ.get('HTTP_HOST', '').split(':')[0]
d, _, r = h.partition('.')
if d == "www" and r:
d = r.partition('.')[0]
r = openerp.tools.config['dbfilter'].replace('%h', h).replace('%d', d)
dbs = [i for i in dbs if re.match(r, i)]
return dbs
8.0 rc 改成上面这样了,看不懂