Skip to Content
Menu
This question has been flagged
2449 Views

odoo v9 Inventory  Module, Dashboard Page show this error: 

my language is Chinese ,but if language is english ,no error.

Traceback (most recent call last):

File "/Users/linjun/PycharmProjects/odoo9e/openerp/http.py", line 643, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/http.py", line 680, in dispatch

result = self._call_function(**self.params)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/http.py", line 316, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/service/model.py", line 118, in wrapper

return f(dbname, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/http.py", line 309, in checked_call

result = self.endpoint(*a, **kw)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/http.py", line 959, in __call__

return self.method(*args, **kw)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/http.py", line 509, in response_wrap

response = f(*args, **kw)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/web/controllers/main.py", line 907, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/web/controllers/main.py", line 899, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 342, in old_api

result = method(recs, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/web_planner/models/web_planner.py", line 45, in render

return self.env['ir.ui.view'].browse(template_id).render(values=values)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 236, in wrapper

return new_api(self, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 562, in new_api

result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/website/models/ir_ui_view.py", line 141, in render

return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/web_editor/models/ir_ui_view.py", line 29, in render

return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/base/ir/ir_ui_view.py", line 1065, in render

return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/base/ir/ir_qweb.py", line 252, in render

element = self.get_template(id_or_xml_id, qwebcontext)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/base/ir/ir_qweb.py", line 172, in get_template

document = qwebcontext.loader(name)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/base/ir/ir_ui_view.py", line 1063, in loader

return self.read_template(cr, uid, name, context=context)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/base/ir/ir_ui_view.py", line 938, in read_template

return self._read_template(cr, uid, view_id, context=context)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "<string>", line 2, in _read_template

File "/Users/linjun/PycharmProjects/odoo9e/openerp/tools/cache.py", line 85, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/base/ir/ir_ui_view.py", line 923, in _read_template

arch = self.read_combined(cr, uid, view_id, fields=['arch'], context=context)['arch']

File "/Users/linjun/PycharmProjects/odoo9e/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/Users/linjun/PycharmProjects/odoo9e/openerp/addons/base/ir/ir_ui_view.py", line 635, in read_combined

view_arch = etree.fromstring(view['arch'].encode('utf-8'))

File "lxml.etree.pyx", line 3092, in lxml.etree.fromstring (src/lxml/lxml.etree.c:70473)

File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106307)

File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105098)

File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:99780)

File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94254)

File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95690)

File "parser.pxi", line 620, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94757)

XMLSyntaxError: EntityRef: expecting ';', line 413, column 48

Avatar
Discard