When upgrading a custom module to Odoo 19, I get the following error is odoo log:
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
I have removed the following line from the beginning of the XML files, but still have the same error:
<?xml version="1.0" encoding="utf-8" ?>
Note: I am upgrading from v15 to v19.
What is the fix to such error message?
A piece of source code would be beneficial to your question's chance of being answered.
The upgrade scripts for Odoo 19 are not yet available except to Odoo Online database deployment and only for testing.
See https://upgrade.odoo.com/