通过源码和deb包两种方式安装了odoo9,发现在中文界面下,安装会计模块后提示如下错误:
Odoo Server Error<br />Traceback (most recent call last):<br /> File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 599, in _handle_exception<br /> return super(JsonRequest, self)._handle_exception(exception)<br /> File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 636, in dispatch<br /> result = self._call_function(**self.params)<br /> File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 315, in _call_function<br /> return checked_call(self.db, *args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper<br /> return f(dbname, *args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 308, in checked_call<br /> result = self.endpoint(*a, **kw)<br /> File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 887, in __call__<br /> return self.method(*args, **kw)<br /> File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 465, in response_wrap<br /> response = f(*args, **kw)<br /> File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 975, in call_kw<br /> return self._call_kw(model, method, args, kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 967, in _call_kw<br /> return checked_call(request.db, *args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper<br /> return f(dbname, *args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 966, in checked_call<br /> return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 232, in wrapper<br /> return old_api(self, *args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 1531, in fields_view_get<br /> root_view = View.read_combined(cr, uid, view_id, fields=['id', 'name', 'field_parent', 'type', 'model', 'arch'], context=context)<br /> File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 232, in wrapper<br /> return old_api(self, *args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_ui_view.py", line 635, in read_combined<br /> view_arch = etree.fromstring(view['arch'].encode('utf-8'))<br /> File "lxml.etree.pyx", line 3032, in lxml.etree.fromstring (src/lxml/lxml.etree.c:68106)<br /> File "parser.pxi", line 1785, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:102455)<br /> File "parser.pxi", line 1673, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:101284)<br /> File "parser.pxi", line 1074, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:96466)<br /> File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91275)<br /> File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92461)<br /> File "parser.pxi", line 622, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91757)<br />XMLSyntaxError: EntityRef: expecting ';', line 110, column 56
将管理员默认语言改成英文后,会计模块就没有问题。有没有和我碰到一样问题的兄弟呀?
下面的截图是我只安装会计模块情况下出现的