You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multilingual is activated , query result a json instead a txt
`
File "/opt/odoo/custom_addons/16.0/openupgrade/openupgrade_framework/odoo_patch/odoo/modules/migration.py", line 18, in migrate_module
MigrationManager.migrate_module._original_method(self, pkg, stage)
File "/opt/odoo/16.0/odoo/modules/migration.py", line 183, in migrate_module
migrate(self.cr, installed_version)
File "/opt/odoo/env/16.0/lib/python3.10/site-packages/openupgradelib/openupgrade.py", line 2280, in wrapped_function
func(
File "/opt/odoo/custom_addons/16.0/openupgrade/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py", line 81, in migrate
convert_custom_qweb_templates_bootstrap_4to5(env)
File "/opt/odoo/custom_addons/16.0/openupgrade/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py", line 26, in convert_custom_qweb_templates_bootstrap_4to5
_convert_field_bootstrap_4to5_sql(env.cr, "ir_ui_view", "arch_db", ids=view_ids)
File "/opt/odoo/env/16.0/lib/python3.10/site-packages/openupgradelib/openupgrade_160.py", line 403, in _convert_field_bootstrap_4to5_sql
cr.execute(
File "/opt/odoo/16.0/odoo/sql_db.py", line 315, in execute
res = self._obj.execute(query, params)
psycopg2.errors.InvalidTextRepresentation:
LINE 1: UPDATE "ir_ui_view" SET "arch_db" = '{''en_US'': ''<?xml ver
`
To Reproduce
Steps to reproduce the behavior:
active 2 or more language
edit website front
try migration
The text was updated successfully, but these errors were encountered:
When multilingual is activated , query result a json instead a txt
`
File "/opt/odoo/custom_addons/16.0/openupgrade/openupgrade_framework/odoo_patch/odoo/modules/migration.py", line 18, in migrate_module
MigrationManager.migrate_module._original_method(self, pkg, stage)
File "/opt/odoo/16.0/odoo/modules/migration.py", line 183, in migrate_module
migrate(self.cr, installed_version)
File "/opt/odoo/env/16.0/lib/python3.10/site-packages/openupgradelib/openupgrade.py", line 2280, in wrapped_function
func(
File "/opt/odoo/custom_addons/16.0/openupgrade/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py", line 81, in migrate
convert_custom_qweb_templates_bootstrap_4to5(env)
File "/opt/odoo/custom_addons/16.0/openupgrade/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py", line 26, in convert_custom_qweb_templates_bootstrap_4to5
_convert_field_bootstrap_4to5_sql(env.cr, "ir_ui_view", "arch_db", ids=view_ids)
File "/opt/odoo/env/16.0/lib/python3.10/site-packages/openupgradelib/openupgrade_160.py", line 403, in _convert_field_bootstrap_4to5_sql
cr.execute(
File "/opt/odoo/16.0/odoo/sql_db.py", line 315, in execute
res = self._obj.execute(query, params)
psycopg2.errors.InvalidTextRepresentation:
LINE 1: UPDATE "ir_ui_view" SET "arch_db" = '{''en_US'': ''<?xml ver
`
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: