odoo/industry#1882

Created by fw-bot
Merged at 7355b75d6e0a18afd40ed801c2318a0ecf0f1f31

Statuses:

label
odoo-dev:saas-19.1-19.0-handle-uninstallation-of-industries-amas-507152-fw
head
a2cee2c6411cba83998e4cbe5a0386d085e002f6
merged
1 month ago by Industry, Vallaeys Valentin (vava)
odoo/industry
19.0 #1845
saas-19.1 #1882
saas-19.2 #1885
master #1887

[IMP] *: add uninstall hook automation

Uninstalling an industry module (e.g., real_estate) could leave modified window actions (domain, context, etc.) referencing fields created by the industry. After removal, these fields no longer exist, leading to tracebacks when opening related menus such as CRM or Products.

This commit introduces an automation triggered at module uninstallation to act similarly to an uninstall_hook. This ensures that industry customizations are properly cleaned during module removal.

Task ID: 5936090

Forward-Port-Of: #1845