Buongiorno a tutti, installando l'upgrade del modulo l10n_it_fatturapa_out dalla versione 16.0.1.0.8 alla 16.0.1.0.9 ho il seguente errore:
2023-10-10 08:29:47,622 7116 ERROR Odoo16 odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Program Files\Odoo 16\server\odoo\modules\registry.py", line 90, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "C:\Program Files\Odoo 16\server\odoo\modules\loading.py", line 484, in load_modules
processed_modules += load_marked_modules(cr, graph,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 16\server\odoo\modules\loading.py", line 372, in load_marked_modules
loaded, processed = load_module_graph(
^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 16\server\odoo\modules\loading.py", line 208, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name}, new_install)
File "C:\Program Files\Odoo 16\server\odoo\modules\registry.py", line 526, in init_models
model._auto_init()
File "C:\Program Files\Odoo 16\server\odoo\models.py", line 2578, in _auto_init
new = field.update_db(self, columns)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 16\server\odoo\fields.py", line 1006, in update_db
self.update_db_column(model, column)
File "C:\Program Files\Odoo 16\server\odoo\fields.py", line 1042, in update_db_column
self._convert_db_column(model, column)
File "C:\Program Files\Odoo 16\server\odoo\fields.py", line 1046, in _convert_db_column
sql.convert_column(model._cr, model._table, self.name, self.column_type[1])
File "C:\Program Files\Odoo 16\server\odoo\tools\sql.py", line 128, in convert_column
_convert_column(cr, tablename, columnname, columntype, using)
File "C:\Program Files\Odoo 16\server\odoo\tools\sql.py", line 147, in _convert_column
cr.execute(query, log_exceptions=False)
File "C:\Program Files\Odoo 16\server\odoo\sql_db.py", line 321, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.DatatypeMismatch: ERRORE: non è possibile implementare il vincolo di chiave esterna "wizard_export_fatturapa_report_print_menu_fkey"
DETAIL: Le colonne chiave "report_print_menu" e "id" hanno tipi incompatibili: character varying e integer.
Come posso sistemarlo?
Grazie,
Simone