Skip to Content
Menu
This question has been flagged
1 Reply
1662 Views
error somewhere inside 

""""""" """ info"""" "" """ '"" """

this is what the error messsage is that is thrown when installing CRM module in odoo16 enterprise, what could be the reason.
That piece of code is inside
odoo.tools.convert.ParseError: while parsing /opt/odoo16/odoo/addons/crm/data/crm_team_data.xml:3, somewhere inside

---------------------------------------------------------------------------
----------------------------------------------------------------------------
and this is the full traceback
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo16/odoo/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/opt/odoo16/odoo/odoo/tools/convert.py", line 599, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/opt/odoo16/odoo/odoo/models.py", line 4356, in _load_records
data['record']._load_records_write(data['values'])
File "/opt/odoo16/odoo/odoo/models.py", line 4287, in _load_records_write
self.write(values)
File "/opt/odoo16/odoo/addons/crm/models/crm_team.py", line 134, in write
result = super(Team, self).write(vals)
File "/opt/odoo16/odoo/addons/mail/models/mail_alias_mixin.py", line 71, in write
self.mapped('alias_id').sudo().write(alias_vals)
File "/opt/odoo16/odoo/addons/mail/models/mail_alias.py", line 135, in write
vals['alias_name'] = self._clean_and_check_unique([vals.get('alias_name')])[0]
File "/opt/odoo16/odoo/addons/mail/models/mail_alias.py", line 195, in _clean_and_check_unique
raise UserError(
odoo.exceptions.UserError: The e-mail alias info@smarten.com.np is already used by the Mobile App Developer Job Position. Choose another alias or change it on the other document.

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

Traceback (most recent call last):
File "/opt/odoo16/odoo/odoo/http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo16/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo16/odoo/odoo/http.py", line 1611, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo16/odoo/odoo/http.py", line 1815, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo16/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/opt/odoo16/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo16/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo16/odoo/addons/web/controllers/dataset.py", line 46, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo16/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo16/odoo/odoo/api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo16/odoo/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo16/odoo/odoo/addons/base/models/ir_module.py", line 76, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo16/odoo/odoo/addons/base/models/ir_module.py", line 491, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/opt/odoo16/odoo/odoo/addons/base/models/ir_module.py", line 615, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "", line 2, in new
File "/opt/odoo16/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/opt/odoo16/odoo/odoo/modules/registry.py", line 90, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/opt/odoo16/odoo/odoo/modules/loading.py", line 488, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/opt/odoo16/odoo/odoo/modules/loading.py", line 372, in load_marked_modules
loaded, processed = load_module_graph(
File "/opt/odoo16/odoo/odoo/modules/loading.py", line 231, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/opt/odoo16/odoo/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/opt/odoo16/odoo/odoo/tools/convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/opt/odoo16/odoo/odoo/tools/convert.py", line 829, in convert_xml_import
obj.parse(doc.getroot())
File "/opt/odoo16/odoo/odoo/tools/convert.py", line 749, in parse
self._tag_root(de)
File "/opt/odoo16/odoo/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/opt/odoo16/odoo/odoo/tools/convert.py", line 711, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /opt/odoo16/odoo/addons/crm/data/crm_team_data.xml:3, somewhere inside

info



The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (https://smarten.com.np/web/assets/4099-a56b93a/web.assets_backend.min.js:992:163)
at XMLHttpRequest. (https://smarten.com.np/web/assets/4099-a56b93a/web.assets_backend.min.js:1000:13)



Avatar
Discard
Best Answer

Hi Abhinav Man Bajimaya,

  • you need to check this file error coming inside this code.
  • odoo16 addons 

Thank you

Avatar
Discard
Author

the error is in the first record tag element lines 3 to 6, When I copy paste that part , this forum automatically changes it to info , as seem above
<record id="sales_team.sales_department...

The problem with this is , it is the original source code of odoo, and I havent changed or inherited anything of it.
And also, the it is inside the data folder, which means it is used to create default sales team called info?

Author

Even though the error is inside that file, i cannot change it as it is the odoo source code

Related Posts Replies Views Activity
2
Apr 23
7263
3
Dec 19
4136
1
Mar 16
3649
1
Mar 24
1454
1
Feb 23
1304