It's useless to trigger the udpate of the stages during module (or whole DB) upgrade if these stages do not change. It's been the same since at least 12.0. Updating the stage triggers a series of computes that may end up in MemoryError during upgrade. https://github.com/odoo/odoo/blob/7b3b623cf3359ac1eea537177f7f963e81403a01/addons/maintenance/models/maintenance.py#L434-L441 closes odoo/odoo#82651 X-original-commit: 387bc337930e55511d336351db3ce3ddd80f524c Signed-off-by: Christophe Simonis <chs@odoo.com>