Skip to Content
Menu
This question has been flagged
1 Reply
682 Views

Bonjour / hello 

désolé pour mon anglais mais j'ai l'erreur ci dessous lorsque je veut acceder à la page contacts. 
Je n'arrive pas à identifier le probleme, si vous pouviez me guider ? 

Merci 


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

result = request.dispatch()

File "/usr/lib/python3/dist-packages/odoo/http.py", line 687, in dispatch

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function

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

File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 348, in checked_call

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 916, in __call__

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 535, in response_wrap

response = f(*args, **kw)

File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1347, in call_kw

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

File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1339, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/usr/lib/python3/dist-packages/odoo/api.py", line 460, in call_kw

result = _call_kw_model(method, model, args, kwargs)

File "/usr/lib/python3/dist-packages/odoo/api.py", line 433, in _call_kw_model

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

File "/usr/lib/python3/dist-packages/odoo/models.py", line 1629, in load_views

result['fields_views'] = {

File "/usr/lib/python3/dist-packages/odoo/models.py", line 1630, in

v_type: self.fields_view_get(v_id, v_type if v_type != 'list' else 'tree',

File "/opt/odoo/custom-addons/om_account_followup/models/partner.py", line 15, in fields_view_get

res = super(ResPartner, self).fields_view_get(

File "/usr/lib/python3/dist-packages/odoo/addons/web/models/models.py", line 249, in fields_view_get

r = super().fields_view_get(view_id, view_type, toolbar, submenu)

File "/usr/lib/python3/dist-packages/odoo/models.py", line 1713, in fields_view_get

result = self._fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_partner.py", line 345, in _fields_view_get

res = super(Partner, self)._fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)

File "/usr/lib/python3/dist-packages/odoo/models.py", line 1675, in _fields_view_get

result['arch'] = view.get_combined_arch()

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 954, in get_combined_arch

return etree.tostring(self._get_combined_arch(), encoding='unicode')

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 984, in _get_combined_arch

arch = root.with_prefetch(tree_views._prefetch_ids)._combine(hierarchy)

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 921, in _combine

arch = etree.fromstring(view.arch)

File "src/lxml/etree.pyx", line 3237, in lxml\.etree\.fromstring

\ \ File\ "src/lxml/parser\.pxi",\ line\ 1896,\ in\ lxml\.etree\._parseMemoryDocument

\ \ File\ "src/lxml/parser\.pxi",\ line\ 1777,\ in\ lxml\.etree\._parseDoc

\ \ File\ "src/lxml/parser\.pxi",\ line\ 1082,\ in\ lxml\.etree\._BaseParser\._parseUnicodeDoc

\ \ File\ "src/lxml/parser\.pxi",\ line\ 615,\ in\ lxml\.etree\._ParserContext\._handleParseResultDoc

\ \ File\ "src/lxml/parser\.pxi",\ line\ 725,\ in\ lxml\.etree\._handleParseResult

\ \ File\ "src/lxml/parser\.pxi",\ line\ 654,\ in\ lxml\.etree\._raiseParseError

Exception



The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:



Traceback\ \(most\ recent\ call\ last\):

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 643,\ in\ _handle_exception

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 301,\ in\ _handle_exception

\ \ \ \ raise\ exception\.with_traceback\(None\)\ from\ new_cause

\ \ File\ "",\ line\ 1

lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1


Avatar
Discard
Author Best Answer

Ok, after remove  om_account_followup module 

Avatar
Discard

Our module is throwing any exception ? if yes, feel free to share the details with us, so that we can fix it