Files
Wiki/Odoo.sh Upgrade Script Module.md
T

2.0 KiB

title, lang, draft, kind, section
title lang draft kind section
Odoo.sh Upgrade Script Module en false howto dev

During the Upgrade process there will be issues such as shown here:

!Odoo Upgrade Issue.png

The message gives an hint on what should be done:

`2024-11-14 09:08:46,611 27 CRITICAL db_2188827 odoo.addons.base.maintenance.migrations.base.pre-models-no-model-data-delete: It looks like you forgot to call util.delete_unused(cr, "product.list1")

Create upgrade scripts module

The upgrade scripts should be created inside the modules. However, in many cases access to the modules is not given and therefore a custom