Open yonacwy opened 11 months ago
AssertionError: The ID "patient_medical_record.health_consultation_list" refers to an uninstalled module
odoo.tools.convert.ParseError: while parsing /bitnami/odoo/addons/clinical/views/health_consultation.xml:5
Para solucionar este problema, te recomiendo lo siguiente:
El problema es que el nombre lo obtiene del repo, y este difiere al que tiene el modulo.
Comprueba esto porfa.
He cambiado el nombre del repo.
patient_medical_record.
Compa puedo reglarlo yo mismo pero estoy ocupado con mi propio medical app en ingles para los americanos, y puedo correrlo en mi sistema de odoo17 community edition para saber los errores que encuentro.
Traceback (most recent call last): File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 556, in _tag_root f(rec) File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 357, in _tag_record self._test_xml_id(rec_id) File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 251, in _test_xml_id assert modcnt == 1, """The ID "%s" refers to an uninstalled module""" % (xml_id,) ^^^^^^^^^^^ AssertionError: The ID "patient_medical_record.health_consultation_list" refers to an uninstalled module
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/http.py", line 1732, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/service/model.py", line 133, in retrying result = func() ^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/http.py", line 1759, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/http.py", line 1960, in dispatch result = self.request.registry['ir.http']._dispatch(endpoint) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/addons/website/models/ir_http.py", line 235, in _dispatch response = super()._dispatch(endpoint) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/addons/base/models/ir_http.py", line 207, in _dispatch result = endpoint(request.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/http.py", line 722, in route_wrapper result = endpoint(self, *args, *params_ok) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/addons/web/controllers/dataset.py", line 28, in call_button action = self._call_kw(model, method, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw return call_kw(request.env[model], method, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/api.py", line 466, in call_kw result = _call_kw_multi(method, model, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/api.py", line 453, in _call_kw_multi result = method(recs, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 2, in button_immediate_install
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/addons/base/models/ir_module.py", line 456, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/addons/base/models/ir_module.py", line 580, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 2, in new
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/func.py", line 87, in locked
return func(inst, args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/modules/registry.py", line 113, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/modules/loading.py", line 480, in load_modules
processed_modules += load_marked_modules(env, graph,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/modules/loading.py", line 364, in load_marked_modules
loaded, processed = load_module_graph(
^^^^^^^^^^^^^^^^^^
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/modules/loading.py", line 227, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 627, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 693, in convert_xml_import
obj.parse(doc.getroot())
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 613, in parse
self._tag_root(de)
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 556, in _tag_root
f(rec)
File "/opt/bitnami/odoo/lib/odoo-17.0.post20231105-py3.11.egg/odoo/tools/convert.py", line 569, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /bitnami/odoo/addons/clinical/views/health_consultation.xml:5, somewhere inside
The above server error caused the following client error: RPC_ERROR: Odoo Server Error RPCError@http://172.16.177.129/web/assets/69f74c1/web.assets_web.min.js:2860:319 makeErrorFromResponse@http://172.16.177.129/web/assets/69f74c1/web.assets_web.min.js:2863:163 jsonrpc/promise</<@http://172.16.177.129/web/assets/69f74c1/web.assets_web.min.js:2867:34