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
Deleting this line keeps the upgrade from failing, but is only a workaround..
It tries to update an uom that no longer exists. When deleting the uom KG. and keeping the category openupgrade adds a new KG uom. This fails then the Weight uim category is deleted.
Steps to reproduce:
Clean version 7.0 installation (latest 7.0 head)
Install product module, assign technical features and sales rights for the admin user
Go to Sales/Unit of Measure Categories and delete category Weight.
Update and fail.
The text was updated successfully, but these errors were encountered:
This is not a valid issue, because you must update your DB with latest code of the previous version before starting a migration, and the category will be again re-created in that operation. BTW, maybe we can fill an issue to Odoo for letting you delete the category having UoM with that type.
Makes sense. I see now that updating all is mentioned in the details documentation, but not on the automated migration script page. Since i wanted a quick and dirty migration, I stopped reading there :)
Deleting the category and uom fails when there are products with that uom, this looks like expected behavouir.
Impacted versions: 7.0 to 8.0 upgrade
In my database I've deleted the Weight unit of measure category, default id = 3. As I only sell unit and hours.
When running the openupgrade script I get the error:
Deleting this line keeps the upgrade from failing, but is only a workaround..
It tries to update an uom that no longer exists. When deleting the uom KG. and keeping the category openupgrade adds a new KG uom. This fails then the Weight uim category is deleted.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: