Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
189 Vistas

I am currently evaluating Odoo. V19 Online. My first attempt to install Manufacturing threw an error (log mentioned problem with HR error), so i tried installing HR. It also threw an error. I went on to install multiple apps without issue. However, i am still not able to install Manufacturing (or HR). I’ve tried everything. I have submitted a ticket to Support… but i have no idea how responsive Support is. Any ideas anyone. I am very impressed with Odoo thus far, so this bump is a little frustrating. NOTE: I’m on Mac Safari. Have also tried Chrome. 

Avatar
Descartar

"an error" and "problem with HR" doesn't help anything to answer your question. Please specify exactly what the actual output of said error message is.

Autor

Here’s the error: Odoo Server Error

RPC_ERROR

Odoo Server Error

Occured on purpose-solutions-llc.odoo.com on model ir.module.module on 2025-10-11 19:16:15 GMT

Traceback (most recent call last):

  File "/home/odoo/src/odoo/19.0/odoo/http.py", line 2281, in _serve_db

    return service_model.retrying(serve_func, env=self.env)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/service/model.py", line 184, in retrying

    result = func()

             ^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/http.py", line 2328, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/http.py", line 2543, in dispatch

    result = self.request.registry['ir.http']._dispatch(endpoint)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_http.py", line 357, in _dispatch

    result = endpoint(**request.params)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/http.py", line 788, in route_wrapper

    result = endpoint(self, *args, **params_ok)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/addons/web/controllers/dataset.py", line 32, in call_kw

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

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/service/model.py", line 93, in call_kw

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

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/custom/trial/saas_trial/models/module.py", line 176, in button_immediate_install

    return super(IrModuleModule, self).button_immediate_install()

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_module.py", line 70, in check_and_log

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

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_module.py", line 479, in button_immediate_install

    return self._button_immediate_function(self.env.registry[self._name].button_install)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/custom/trial/saas_trial/models/module.py", line 112, in _button_immediate_function

    res = super(IrModuleModule, self)._button_immediate_function(function)

          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_module.py", line 620, in _button_immediate_function

    registry = modules.registry.Registry.new(self.env.cr.dbname, update_module=True)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/tools/func.py", line 88, in locked

    return func(inst, *args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/19.0/odoo/orm/registry.py", line 185, in new

    load_modules(

  File "/home/odoo/src/odoo/19.0/odoo/modules/loading.py", line 449, in load_modules

    load_module_graph(

  File "/home/odoo/src/odoo/19.0/odoo/modules/loading.py", line 204, in load_module_graph

    load_data(env, idref, 'init', kind='data', package=package)

  File "/home/odoo/src/odoo/19.0/odoo/modules/loading.py", line 58, in load_data

    convert_file(env, package.name, filename, idref, mode, noupdate=kind == 'demo')

  File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 646, in convert_file

    convert_xml_import(env, module, fp, idref, mode, noupdate)

  File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 745, in convert_xml_import

    obj.parse(doc.getroot())

  File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 616, in parse

    self._tag_root(de)

  File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 559, in _tag_root

    f(rec)

  File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 570, in _tag_root

    raise ParseError(msg) from None  # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

odoo.tools.convert.ParseError: while parsing /home/odoo/src/odoo/19.0/addons/hr/views/res_users.xml:155

Error while parsing or validating view:


Element '<xpath expr="//h5[@name=&#39;h5_login&#39;]/i[hasclass(&#39;fa-envelope&#39;)]">' cannot be located in parent view


View error context:

{'file': '/home/odoo/src/odoo/19.0/addons/hr/views/res_users.xml',

 'line': 1,

 'name': 'res.users.form.inherit',

 'view': ir.ui.view(2988,),

 'view.model': 'res.users',

 'view.parent': ir.ui.view(167,),

 'xmlid': 'res_users_view_form'}



The above server error caused the following client error:

RPC_ERROR: Odoo Server Error

    RPCError@https://purpose-solutions-llc.odoo.com/web/assets/6257013/web.assets_web.min.js:3178:83

    makeErrorFromResponse@https://purpose-solutions-llc.odoo.com/web/assets/6257013/web.assets_web.min.js:3181:175

    @https://purpose-solutions-llc.odoo.com/web/assets/6257013/web.assets_web.min.js:3187:34

Share

Autor

Thank you for the update, Christoph. BTW, should I just keep trying (next week) or will I receive a notice of some sort (e.g. from my ticket)?

Rollouts (Odoo Online and odoo.sh) happen on a fixed weekly schedule (Sunday late night/Monday early morning). Since the change (https://github.com/odoo/odoo/pull/230473) is currently not fully reviewed I'm not entirely sure whether it will be part of tonight's or next week's release. You can subscribe yourself to that pull request on github to receive status updates.

Mejor respuesta

Hi,


The error you encountered while trying to install Manufacturing or HR in Odoo 19 Online is caused by a broken XML view inheritance inside the `hr` module, specifically in the file `hr/views/res_users.xml`. The line `Element '<xpath expr="//h5[@name='h5_login']/i[hasclass('fa-envelope')]">' cannot be located in parent view` means that the system tried to modify a part of the user form view (`res.users`) that no longer exists or was changed in the base Odoo view structure. This often happens when Odoo SaaS is running a slightly newer or customized build where view targets differ. Since you’re on **Odoo Online, you can’t manually edit or patch XML files, so the best action is to wait for Odoo Support to fix it (they usually respond within 1–2 business days). In the meantime, you can continue installing or testing other apps; this issue only affects modules depending on `hr` (like Manufacturing or Payroll).


Hope it helps.

Avatar
Descartar
Autor Mejor respuesta

 Thanks again, Christoph.

Avatar
Descartar
Mejor respuesta

Unfortunately, an issue that has been anticipated by Odoo staff already: https://github.com/odoo/odoo/commit/db3dee12d7c17ad485800d000ec4cdd87fcfd18b#diff-1830e19d4bdede74bd1c6a48084739a33ab6c50ee5fc12bf73b14e61d5cd4193

It's scheduled to "be fixed next week" (posted 2 days ago).

From reth-odoo:
@maan-odoo should be fixed next week, thanks for the report.
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 25
980
2
sept 25
591
2
sept 25
565
3
oct 25
728
3
sept 25
792