I need to upgrade a database from Odoo 15 to 17, and there are some modules that used analytic accounts and analytic tags, which in versions 16 and 17 have been transformed into distributions. For this, I need to create a script that updates these values so that they are not simply deleted.
I have seen that many people use OpenUpgrade, but I am not sure if it is used for upgrades on Odoo.sh. It would be good to know how I can upgrade these modules, especially if there is an example related to the analytic part.