General

¡Bienvenido a los foros Aeodoo!

Somos la comunidad de Odoo internacional hispanohablante.
Estos foros son para compartir y debatir dudas técnicas, funcionales y mejores prácticas para Odoo. Recuerda que no están permitidos los insultos, descalificaciones o spam, cualquier conducta reprobable supondrá el baneo del usuario.

0

Error al acceder a Facturación: Error: Missing field string information for the field 'payment_mode_id' from the 'account.move' model

Avatar
JOINSO

Buenos días,
Debimos a problemas técnicos ayer tuve que restaurar Odoo16 que corre bajo un contenedor Docker.
Pude restaurar tanto el docker de odoo como la base de datos.
Pero en algunas características tengo errores.

Por ejemplo:

1.- Al acceder a Facturación, se muestra este error:

Error: Missing field string information for the field 'payment_mode_id' from the 'account.move' model
    at https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:69377:27 (/web/static/src/legacy/legacy_load_views.js:69)
    at traverse (https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:69315:9) (/web/static/src/legacy/legacy_load_views.js:7)
    at https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:69317:13 (/web/static/src/legacy/legacy_load_views.js:9)
    at _.each._.forEach (https://odoo16.joinso.cat/web/assets/debug/web.assets_common.js:766:9) (/web/static/lib/underscore/underscore.js:186)
    at traverse (https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:69316:11) (/web/static/src/legacy/legacy_load_views.js:8)
    at processArch (https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:69367:5) (/web/static/src/legacy/legacy_load_views.js:59)
    at generateLegacyLoadViewsResult (https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:69341:53) (/web/static/src/legacy/legacy_load_views.js:33)
    at https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:58224:41 (/web/static/src/views/view_service.js:115)


2.- Si intento desintalar algun módulo, como por ejemplo  l10n_es_aeat_sii_oca, da este error:
RPC_ERROR

Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1589, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying
    result = func()
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1616, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1820, in dispatch

....

The above server error caused the following client error:
RPC_ERROR://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:10410:19) (/web/static/src/core/network/rpc_service.js:34)
    at XMLHttpRequest. (https://odoo16.joinso.cat/web/assets/debug/web.assets_backend.js:10463:27) (/web/static/src/core/network/rpc_service.js:87


Alguna idea de como ir sacando estos errores?

Gracias de antemano.




Avatar
Descartar
2 Respuestas
0
Avatar
JOINSO
Mejor respuesta

No tengo opción de modificar el arranque de docker para introducir el parámetro "--update".
Puedo hacerlo desde la instancia docker?
Por otro lado, por el tipo de error, parece que hay un error en la base de datos, como si el valor payment_mode_id no tuviera valor o se hubiera perdido la referencia.
Existe alguna manera de borrar el módulo de forma manual, aunque pueda perder información?
Saludos!

2 Comentarios
Avatar
Descartar
Avatar
Luis Planes Mur
-

Puedes entrar en el docker con el comando bash y ejecutar odoo en otro puerto. Algo así como /opt/odoo/odoo-bin -c /etc/odoo/odoo.conf -d <database> -u <module> --xmlrpc-port=9999 --stop-after-init
Al ejecutar en otro puerto, te va a permitir ejecutar la opción --update

Avatar
Luis Planes Mur
-

Recuerda añadir comentarios y no abrir nuevas preguntas.

0
Avatar
Luis Planes Mur
Mejor respuesta

Hola, en mi opinión deberías utilizar la opción --update al ejecutar el servidor para el módulo account y a partir de ahi ir viendo espécificamente los errores que aparecen.

Recuerda hacer copia de seguridad antes de esa opción.

Un saludo.

5 Comentarios
Avatar
Descartar
Avatar
JOINSO
-

Hola,
No sé si lo he hecho de forma correcta pero este el output:
2024-08-13 07:07:24,205 1987 INFO ? odoo: Odoo version 16.0-20231120
2024-08-13 07:07:24,205 1987 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf
2024-08-13 07:07:24,205 1987 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/root/.local/share/Odoo/addons/16.0']
2024-08-13 07:07:24,205 1987 INFO ? odoo: database: odoodb16@dbodoo16-1:5432
2024-08-13 07:07:24,854 1987 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2024-08-13 07:07:25,180 1987 INFO ? odoo.service.server: HTTP service (werkzeug) running on odoo16-1:8071
2024-08-13 07:07:25,205 1987 INFO ? odoo.modules.loading: init db
2024-08-13 07:07:26,595 1987 INFO dbodoo16-1 odoo.modules.loading: loading 1 modules...
2024-08-13 07:07:26,596 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module base (1/1)
2024-08-13 07:07:26,623 1987 INFO dbodoo16-1 odoo.modules.registry: module base: creating or updating database tables
2024-08-13 07:07:27,632 1987 INFO dbodoo16-1 odoo.models: Prepare computation of ir.module.module.menus_by_module
2024-08-13 07:07:27,632 1987 INFO dbodoo16-1 odoo.models: Prepare computation of ir.module.module.reports_by_module
2024-08-13 07:07:27,632 1987 INFO dbodoo16-1 odoo.models: Prepare computation of ir.module.module.views_by_module
2024-08-13 07:07:28,029 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.partner.user_id
2024-08-13 07:07:28,029 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.partner.commercial_partner_id
2024-08-13 07:07:28,029 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.partner.display_name
2024-08-13 07:07:28,029 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.partner.company_registry
2024-08-13 07:07:28,029 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.partner.commercial_company_name
2024-08-13 07:07:28,029 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.partner.partner_share
2024-08-13 07:07:28,155 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.currency.decimal_places
2024-08-13 07:07:28,223 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.company.logo_web
2024-08-13 07:07:28,299 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.users.signature
2024-08-13 07:07:28,300 1987 INFO dbodoo16-1 odoo.models: Prepare computation of res.users.share
2024-08-13 07:07:30,578 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_bank.xml
2024-08-13 07:07:30,583 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res.lang.csv
2024-08-13 07:07:30,631 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_lang_data.xml
2024-08-13 07:07:30,693 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_data.xml
2024-08-13 07:07:30,777 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_currency_data.xml
2024-08-13 07:07:31,178 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_company_data.xml
2024-08-13 07:07:31,216 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_users_data.xml
2024-08-13 07:07:31,936 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/report_paperformat_data.xml
2024-08-13 07:07:31,946 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_country_data.xml
2024-08-13 07:07:32,400 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_demo_data.xml
2024-08-13 07:07:32,412 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_config_parameter_data.xml
2024-08-13 07:07:32,419 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/security/base_groups.xml
2024-08-13 07:07:33,156 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/security/base_security.xml
2024-08-13 07:07:33,256 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/base_menus.xml
2024-08-13 07:07:33,350 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/decimal_precision_views.xml
2024-08-13 07:07:33,369 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_config_views.xml
2024-08-13 07:07:33,389 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res.country.state.csv
2024-08-13 07:07:33,931 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_actions_views.xml
2024-08-13 07:07:34,043 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_asset_views.xml
2024-08-13 07:07:34,073 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_config_parameter_views.xml
2024-08-13 07:07:34,091 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_cron_views.xml
2024-08-13 07:07:34,123 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_cron_trigger_views.xml
2024-08-13 07:07:34,142 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_filters_views.xml
2024-08-13 07:07:34,163 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_mail_server_views.xml
2024-08-13 07:07:34,185 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_model_views.xml
2024-08-13 07:07:34,356 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_attachment_views.xml
2024-08-13 07:07:34,381 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_rule_views.xml
2024-08-13 07:07:34,407 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_sequence_views.xml
2024-08-13 07:07:34,433 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_ui_menu_views.xml
2024-08-13 07:07:34,455 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_ui_view_views.xml
2024-08-13 07:07:34,507 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_default_views.xml
2024-08-13 07:07:34,529 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_cron_data.xml
2024-08-13 07:07:34,537 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_model_report.xml
2024-08-13 07:07:34,542 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_model_templates.xml
2024-08-13 07:07:34,550 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_logging_views.xml
2024-08-13 07:07:34,570 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_qweb_widget_templates.xml
2024-08-13 07:07:34,580 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_module_views.xml
2024-08-13 07:07:34,649 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_module_category_data.xml
2024-08-13 07:07:34,711 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_module_module.xml
2024-08-13 07:07:34,777 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_module_reports.xml
2024-08-13 07:07:34,782 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_module_report_templates.xml
2024-08-13 07:07:34,788 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_module_update_views.xml
2024-08-13 07:07:34,800 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_language_install_views.xml
2024-08-13 07:07:34,813 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_import_language_views.xml
2024-08-13 07:07:34,825 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_module_upgrade_views.xml
2024-08-13 07:07:34,843 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_module_uninstall_views.xml
2024-08-13 07:07:34,850 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_export_language_views.xml
2024-08-13 07:07:34,862 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_partner_merge_views.xml
2024-08-13 07:07:34,878 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_actions_data.xml
2024-08-13 07:07:34,882 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_demo_failure_data.xml
2024-08-13 07:07:34,897 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_profile_views.xml
2024-08-13 07:07:34,921 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_company_views.xml
2024-08-13 07:07:34,946 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_lang_views.xml
2024-08-13 07:07:34,989 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_partner_views.xml
2024-08-13 07:07:35,110 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_bank_views.xml
2024-08-13 07:07:35,145 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_country_views.xml
2024-08-13 07:07:35,187 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_currency_views.xml
2024-08-13 07:07:35,226 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_users_views.xml
2024-08-13 07:07:35,348 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_property_views.xml
2024-08-13 07:07:35,371 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_config_settings_views.xml
2024-08-13 07:07:35,380 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/report_paperformat_views.xml
2024-08-13 07:07:35,404 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/views/onboarding_views.xml
2024-08-13 07:07:35,429 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/security/ir.model.access.csv
2024-08-13 07:07:35,530 1987 INFO dbodoo16-1 odoo.modules.loading: Module base: loading demo
2024-08-13 07:07:35,531 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_company_demo.xml
2024-08-13 07:07:35,540 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_users_demo.xml
2024-08-13 07:07:36,404 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_bank_demo.xml
2024-08-13 07:07:36,410 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_currency_rate_demo.xml
2024-08-13 07:07:36,655 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_bank_demo.xml
2024-08-13 07:07:36,660 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_demo.xml
2024-08-13 07:07:36,916 1987 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_image_demo.xml
2024-08-13 07:07:37,429 1987 INFO dbodoo16-1 odoo.modules.loading: Module base loaded in 10.83s, 8989 queries (+8989 other)
2024-08-13 07:07:37,429 1987 INFO dbodoo16-1 odoo.modules.loading: 1 modules loaded in 10.83s, 8989 queries (+8989 extra)
2024-08-13 07:07:37,446 1987 INFO dbodoo16-1 odoo.modules.loading: updating modules list
2024-08-13 07:07:37,448 1987 INFO dbodoo16-1 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a
2024-08-13 07:07:37,891 1987 INFO dbodoo16-1 odoo.modules.loading: loading 8 modules...
2024-08-13 07:07:37,891 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module web (2/8)
2024-08-13 07:07:37,916 1987 INFO dbodoo16-1 odoo.modules.registry: module web: creating or updating database tables
2024-08-13 07:07:38,350 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/security/ir.model.access.csv
2024-08-13 07:07:38,360 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/views/webclient_templates.xml
2024-08-13 07:07:38,418 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/views/report_templates.xml
2024-08-13 07:07:38,506 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/views/base_document_layout_views.xml
2024-08-13 07:07:38,518 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/views/speedscope_template.xml
2024-08-13 07:07:38,524 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/views/lazy_assets.xml
2024-08-13 07:07:38,530 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/views/neutralize_views.xml
2024-08-13 07:07:38,537 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/data/ir_attachment.xml
2024-08-13 07:07:38,542 1987 INFO dbodoo16-1 odoo.modules.loading: loading web/data/report_layout.xml
2024-08-13 07:07:38,597 1987 INFO dbodoo16-1 odoo.modules.loading: Module web loaded in 0.71s, 882 queries (+882 other)
2024-08-13 07:07:38,597 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module auth_totp (3/8)
2024-08-13 07:07:38,627 1987 INFO dbodoo16-1 odoo.modules.registry: module auth_totp: creating or updating database tables
2024-08-13 07:07:38,733 1987 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/security/security.xml
2024-08-13 07:07:38,756 1987 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/security/ir.model.access.csv
2024-08-13 07:07:38,765 1987 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/data/ir_action_data.xml
2024-08-13 07:07:38,772 1987 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/views/res_users_views.xml
2024-08-13 07:07:38,800 1987 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/views/templates.xml
2024-08-13 07:07:38,807 1987 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/wizard/auth_totp_wizard_views.xml
2024-08-13 07:07:38,850 1987 INFO dbodoo16-1 odoo.modules.loading: Module auth_totp loaded in 0.25s, 174 queries (+174 other)
2024-08-13 07:07:38,850 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module base_import (4/8)
2024-08-13 07:07:38,903 1987 INFO dbodoo16-1 odoo.modules.registry: module base_import: creating or updating database tables
2024-08-13 07:07:39,780 1987 INFO dbodoo16-1 odoo.modules.loading: loading base_import/security/ir.model.access.csv
2024-08-13 07:07:39,840 1987 INFO dbodoo16-1 odoo.modules.loading: Module base_import loaded in 0.99s, 891 queries (+891 other)
2024-08-13 07:07:39,841 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module bus (5/8)
2024-08-13 07:07:39,876 1987 INFO dbodoo16-1 odoo.modules.registry: module bus: creating or updating database tables
2024-08-13 07:07:39,987 1987 INFO dbodoo16-1 odoo.modules.loading: loading bus/security/ir.model.access.csv
2024-08-13 07:07:40,012 1987 INFO dbodoo16-1 odoo.modules.loading: Module bus loaded in 0.17s, 103 queries (+103 other)
2024-08-13 07:07:40,012 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module web_kanban_gauge (6/8)
2024-08-13 07:07:40,560 1987 INFO dbodoo16-1 odoo.modules.loading: Module web_kanban_gauge loaded in 0.55s, 12 queries (+12 other)
2024-08-13 07:07:40,560 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module web_tour (7/8)
2024-08-13 07:07:40,584 1987 INFO dbodoo16-1 odoo.modules.registry: module web_tour: creating or updating database tables
2024-08-13 07:07:40,632 1987 INFO dbodoo16-1 odoo.modules.loading: loading web_tour/security/ir.model.access.csv
2024-08-13 07:07:40,642 1987 INFO dbodoo16-1 odoo.modules.loading: loading web_tour/security/ir.rule.csv
2024-08-13 07:07:40,650 1987 INFO dbodoo16-1 odoo.modules.loading: loading web_tour/views/tour_views.xml
2024-08-13 07:07:41,186 1987 INFO dbodoo16-1 odoo.modules.loading: Module web_tour loaded in 0.63s, 101 queries (+101 other)
2024-08-13 07:07:41,186 1987 INFO dbodoo16-1 odoo.modules.loading: Loading module web_editor (8/8)
2024-08-13 07:07:41,281 1987 INFO dbodoo16-1 odoo.modules.registry: module web_editor: creating or updating database tables
2024-08-13 07:07:41,818 1987 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/security/ir.model.access.csv
2024-08-13 07:07:41,827 1987 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/data/editor_assets.xml
2024-08-13 07:07:41,832 1987 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/views/editor.xml
2024-08-13 07:07:41,858 1987 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/views/snippets.xml
2024-08-13 07:07:41,914 1987 INFO dbodoo16-1 odoo.modules.loading: Module web_editor loaded in 0.73s, 821 queries (+821 other)
2024-08-13 07:07:41,914 1987 INFO dbodoo16-1 odoo.modules.loading: 8 modules loaded in 4.02s, 2984 queries (+2984 extra)
2024-08-13 07:07:42,109 1987 INFO dbodoo16-1 odoo.modules.loading: Modules loaded.
2024-08-13 07:07:42,118 1987 INFO dbodoo16-1 odoo.modules.registry: Registry loaded in 16.939s

Una vez hecho esto he reinciado odoo pero sigue saliendo el error.

Avatar
Luis Planes Mur
-

Puedes intentar actualizar todos los módulos de odoo , con la opción --u all

Avatar
JOINSO
-

Tampoco funciona. Este es el output:
root@odoo16-1:/# /usr/bin/odoo -c /etc/odoo/odoo.conf -d dbodoo16-1 -u all --xmlrpc-port=8071
2024-08-13 07:30:41,618 106 INFO ? odoo: Odoo version 16.0-20231120
2024-08-13 07:30:41,618 106 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf
2024-08-13 07:30:41,618 106 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/root/.local/share/Odoo/addons/16.0']
2024-08-13 07:30:41,618 106 INFO ? odoo: database: odoodb16@dbodoo16-1:5432
2024-08-13 07:30:41,733 106 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2024-08-13 07:30:41,859 106 INFO ? odoo.service.server: HTTP service (werkzeug) running on odoo16-1:8071
2024-08-13 07:30:41,873 106 INFO dbodoo16-1 odoo.modules.loading: loading 1 modules...
2024-08-13 07:30:41,873 106 INFO dbodoo16-1 odoo.modules.loading: Loading module base (1/1)
2024-08-13 07:30:41,932 106 INFO dbodoo16-1 odoo.modules.registry: module base: creating or updating database tables
2024-08-13 07:30:42,400 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_bank.xml
2024-08-13 07:30:42,402 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res.lang.csv
2024-08-13 07:30:42,600 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_lang_data.xml
2024-08-13 07:30:42,617 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_data.xml
2024-08-13 07:30:42,630 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_currency_data.xml
2024-08-13 07:30:42,693 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_company_data.xml
2024-08-13 07:30:42,695 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_users_data.xml
2024-08-13 07:30:42,698 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/report_paperformat_data.xml
2024-08-13 07:30:42,701 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_country_data.xml
2024-08-13 07:30:42,795 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_demo_data.xml
2024-08-13 07:30:42,809 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_config_parameter_data.xml
2024-08-13 07:30:42,812 106 INFO dbodoo16-1 odoo.modules.loading: loading base/security/base_groups.xml
2024-08-13 07:30:42,968 106 INFO dbodoo16-1 odoo.modules.loading: loading base/security/base_security.xml
2024-08-13 07:30:42,981 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/base_menus.xml
2024-08-13 07:30:43,052 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/decimal_precision_views.xml
2024-08-13 07:30:43,070 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_config_views.xml
2024-08-13 07:30:43,083 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res.country.state.csv
2024-08-13 07:30:43,951 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_actions_views.xml
2024-08-13 07:30:44,087 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_asset_views.xml
2024-08-13 07:30:44,110 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_config_parameter_views.xml
2024-08-13 07:30:44,132 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_cron_views.xml
2024-08-13 07:30:44,170 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_cron_trigger_views.xml
2024-08-13 07:30:44,192 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_filters_views.xml
2024-08-13 07:30:44,218 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_mail_server_views.xml
2024-08-13 07:30:44,245 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_model_views.xml
2024-08-13 07:30:44,437 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_attachment_views.xml
2024-08-13 07:30:44,468 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_rule_views.xml
2024-08-13 07:30:44,521 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_sequence_views.xml
2024-08-13 07:30:44,549 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_ui_menu_views.xml
2024-08-13 07:30:44,575 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_ui_view_views.xml
2024-08-13 07:30:44,640 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_default_views.xml
2024-08-13 07:30:44,664 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_cron_data.xml
2024-08-13 07:30:44,671 106 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_model_report.xml
2024-08-13 07:30:44,674 106 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_model_templates.xml
2024-08-13 07:30:44,693 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_logging_views.xml
2024-08-13 07:30:44,718 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_qweb_widget_templates.xml
2024-08-13 07:30:44,734 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_module_views.xml
2024-08-13 07:30:44,815 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_module_category_data.xml
2024-08-13 07:30:44,953 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_module_module.xml
2024-08-13 07:30:44,982 106 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_module_reports.xml
2024-08-13 07:30:44,985 106 INFO dbodoo16-1 odoo.modules.loading: loading base/report/ir_module_report_templates.xml
2024-08-13 07:30:44,998 106 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_module_update_views.xml
2024-08-13 07:30:45,012 106 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_language_install_views.xml
2024-08-13 07:30:45,038 106 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_import_language_views.xml
2024-08-13 07:30:45,064 106 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_module_upgrade_views.xml
2024-08-13 07:30:45,092 106 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_module_uninstall_views.xml
2024-08-13 07:30:45,105 106 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_export_language_views.xml
2024-08-13 07:30:45,127 106 INFO dbodoo16-1 odoo.modules.loading: loading base/wizard/base_partner_merge_views.xml
2024-08-13 07:30:45,146 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_actions_data.xml
2024-08-13 07:30:45,150 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/ir_demo_failure_data.xml
2024-08-13 07:30:45,165 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_profile_views.xml
2024-08-13 07:30:45,195 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_company_views.xml
2024-08-13 07:30:45,225 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_lang_views.xml
2024-08-13 07:30:45,256 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_partner_views.xml
2024-08-13 07:30:45,408 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_bank_views.xml
2024-08-13 07:30:45,453 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_country_views.xml
2024-08-13 07:30:45,504 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_currency_views.xml
2024-08-13 07:30:45,554 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_users_views.xml
2024-08-13 07:30:45,730 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/ir_property_views.xml
2024-08-13 07:30:45,756 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/res_config_settings_views.xml
2024-08-13 07:30:45,766 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/report_paperformat_views.xml
2024-08-13 07:30:45,794 106 INFO dbodoo16-1 odoo.modules.loading: loading base/views/onboarding_views.xml
2024-08-13 07:30:45,831 106 INFO dbodoo16-1 odoo.modules.loading: loading base/security/ir.model.access.csv
2024-08-13 07:30:45,991 106 INFO dbodoo16-1 odoo.modules.loading: Module base: loading demo
2024-08-13 07:30:45,992 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_company_demo.xml
2024-08-13 07:30:45,995 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_users_demo.xml
2024-08-13 07:30:46,001 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_bank_demo.xml
2024-08-13 07:30:46,003 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_currency_rate_demo.xml
2024-08-13 07:30:46,063 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_bank_demo.xml
2024-08-13 07:30:46,066 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_demo.xml
2024-08-13 07:30:46,343 106 INFO dbodoo16-1 odoo.modules.loading: loading base/data/res_partner_image_demo.xml
2024-08-13 07:30:46,908 106 INFO dbodoo16-1 odoo.modules.loading: Module base loaded in 5.03s, 8434 queries (+8434 other)
2024-08-13 07:30:46,908 106 INFO dbodoo16-1 odoo.modules.loading: 1 modules loaded in 5.03s, 8434 queries (+8434 extra)
2024-08-13 07:30:46,925 106 INFO dbodoo16-1 odoo.modules.loading: updating modules list
2024-08-13 07:30:46,926 106 INFO dbodoo16-1 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a
2024-08-13 07:30:47,655 106 INFO dbodoo16-1 odoo.addons.base.models.ir_module: ALLOW access to module.button_upgrade on ['Base'] to user __system__ #1 via n/a
2024-08-13 07:30:47,655 106 INFO dbodoo16-1 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on ['Base'] to user __system__ #1 via n/a
2024-08-13 07:30:48,114 106 INFO dbodoo16-1 odoo.addons.base.models.ir_module: ALLOW access to module.button_install on [] to user __system__ #1 via n/a
2024-08-13 07:30:48,159 106 INFO dbodoo16-1 odoo.modules.loading: loading 8 modules...
2024-08-13 07:30:48,159 106 INFO dbodoo16-1 odoo.modules.loading: Loading module web (2/8)
2024-08-13 07:30:48,201 106 INFO dbodoo16-1 odoo.modules.registry: module web: creating or updating database tables
2024-08-13 07:30:48,590 106 INFO dbodoo16-1 odoo.modules.loading: loading web/security/ir.model.access.csv
2024-08-13 07:30:48,598 106 INFO dbodoo16-1 odoo.modules.loading: loading web/views/webclient_templates.xml
2024-08-13 07:30:48,691 106 INFO dbodoo16-1 odoo.modules.loading: loading web/views/report_templates.xml
2024-08-13 07:30:48,825 106 INFO dbodoo16-1 odoo.modules.loading: loading web/views/base_document_layout_views.xml
2024-08-13 07:30:48,839 106 INFO dbodoo16-1 odoo.modules.loading: loading web/views/speedscope_template.xml
2024-08-13 07:30:48,846 106 INFO dbodoo16-1 odoo.modules.loading: loading web/views/lazy_assets.xml
2024-08-13 07:30:48,854 106 INFO dbodoo16-1 odoo.modules.loading: loading web/views/neutralize_views.xml
2024-08-13 07:30:48,863 106 INFO dbodoo16-1 odoo.modules.loading: loading web/data/ir_attachment.xml
2024-08-13 07:30:48,866 106 INFO dbodoo16-1 odoo.modules.loading: loading web/data/report_layout.xml
2024-08-13 07:30:48,932 106 INFO dbodoo16-1 odoo.modules.loading: Module web loaded in 0.77s, 1100 queries (+1100 other)
2024-08-13 07:30:48,932 106 INFO dbodoo16-1 odoo.modules.loading: Loading module auth_totp (3/8)
2024-08-13 07:30:48,974 106 INFO dbodoo16-1 odoo.modules.registry: module auth_totp: creating or updating database tables
2024-08-13 07:30:49,005 106 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/security/security.xml
2024-08-13 07:30:49,023 106 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/security/ir.model.access.csv
2024-08-13 07:30:49,032 106 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/data/ir_action_data.xml
2024-08-13 07:30:49,038 106 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/views/res_users_views.xml
2024-08-13 07:30:49,078 106 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/views/templates.xml
2024-08-13 07:30:49,089 106 INFO dbodoo16-1 odoo.modules.loading: loading auth_totp/wizard/auth_totp_wizard_views.xml
2024-08-13 07:30:49,133 106 INFO dbodoo16-1 odoo.modules.loading: Module auth_totp loaded in 0.20s, 178 queries (+178 other)
2024-08-13 07:30:49,133 106 INFO dbodoo16-1 odoo.modules.loading: Loading module base_import (4/8)
2024-08-13 07:30:49,197 106 INFO dbodoo16-1 odoo.modules.registry: module base_import: creating or updating database tables
2024-08-13 07:30:49,656 106 INFO dbodoo16-1 odoo.modules.loading: loading base_import/security/ir.model.access.csv
2024-08-13 07:30:49,713 106 INFO dbodoo16-1 odoo.modules.loading: Module base_import loaded in 0.58s, 728 queries (+728 other)
2024-08-13 07:30:49,713 106 INFO dbodoo16-1 odoo.modules.loading: Loading module bus (5/8)
2024-08-13 07:30:49,764 106 INFO dbodoo16-1 odoo.modules.registry: module bus: creating or updating database tables
2024-08-13 07:30:49,817 106 INFO dbodoo16-1 odoo.modules.loading: loading bus/security/ir.model.access.csv
2024-08-13 07:30:49,843 106 INFO dbodoo16-1 odoo.modules.loading: Module bus loaded in 0.13s, 88 queries (+88 other)
2024-08-13 07:30:49,843 106 INFO dbodoo16-1 odoo.modules.loading: Loading module web_kanban_gauge (6/8)
2024-08-13 07:30:49,913 106 INFO dbodoo16-1 odoo.modules.loading: Module web_kanban_gauge loaded in 0.07s, 15 queries (+15 other)
2024-08-13 07:30:49,913 106 INFO dbodoo16-1 odoo.modules.loading: Loading module web_tour (7/8)
2024-08-13 07:30:49,953 106 INFO dbodoo16-1 odoo.modules.registry: module web_tour: creating or updating database tables
2024-08-13 07:30:50,013 106 INFO dbodoo16-1 odoo.modules.loading: loading web_tour/security/ir.model.access.csv
2024-08-13 07:30:50,021 106 INFO dbodoo16-1 odoo.modules.loading: loading web_tour/security/ir.rule.csv
2024-08-13 07:30:50,028 106 INFO dbodoo16-1 odoo.modules.loading: loading web_tour/views/tour_views.xml
2024-08-13 07:30:50,067 106 INFO dbodoo16-1 odoo.modules.loading: Module web_tour loaded in 0.15s, 100 queries (+100 other)
2024-08-13 07:30:50,068 106 INFO dbodoo16-1 odoo.modules.loading: Loading module web_editor (8/8)
2024-08-13 07:30:50,132 106 INFO dbodoo16-1 odoo.modules.registry: module web_editor: creating or updating database tables
2024-08-13 07:30:50,602 106 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/security/ir.model.access.csv
2024-08-13 07:30:50,610 106 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/data/editor_assets.xml
2024-08-13 07:30:50,614 106 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/views/editor.xml
2024-08-13 07:30:50,651 106 INFO dbodoo16-1 odoo.modules.loading: loading web_editor/views/snippets.xml
2024-08-13 07:30:50,756 106 INFO dbodoo16-1 odoo.modules.loading: Module web_editor loaded in 0.69s, 860 queries (+860 other)
2024-08-13 07:30:50,757 106 INFO dbodoo16-1 odoo.modules.loading: 8 modules loaded in 2.60s, 3069 queries (+3069 extra)
2024-08-13 07:30:50,968 106 INFO dbodoo16-1 odoo.modules.loading: Modules loaded.
2024-08-13 07:30:50,983 106 INFO dbodoo16-1 odoo.modules.registry: Registry loaded in 9.124s
^C2024-08-13 07:31:00,049 106 INFO dbodoo16-1 odoo.service.server: Initiating shutdown
2024-08-13 07:31:00,049 106 INFO dbodoo16-1 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2024-08-13 07:31:00,388 106 INFO dbodoo16-1 odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 3 connections

Avatar
Luis Planes Mur
-

Veo que actualiza muy pocos módulos en el caso de -u all, creo que el problema es más amplio que actualizar un módulo en particular. Como usas docker, igual sería una buena idea crear otra instancia con todos los módulos que necesitas y ver si te da el mismo error, una vez que la tengas funcionando, puedes recuperar la copia de seguridad de la instancia inicial.

Avatar
JOINSO
-

Ya he intentando recuperar la instancia con la copia que tenía y es lo que no esta funcionando.
Lo que estoy pensando hacer es instalar 17, copiar el máximo de cosas que pueda, y empezar de nuevo.

Su respuesta

Intente dar una respuesta sustancial. Si desea hacer un comentario sobre la pregunta o la respuesta, utilice la herramienta de comentarios. Recuerde que siempre puede revisar sus respuestas , no es necesario responder dos veces a la misma pregunta. No olvide votar , ayuda a seleccionar las mejores preguntas y respuestas