odoo/industry#1885

Created by fw-bot
Merged at 3d8a0c8c77a376aae5e08d4265863854231206d7

Statuses:

label
odoo-dev:saas-19.2-19.0-handle-uninstallation-of-industries-amas-509441-fw
head
307b8ad903f5335316012dfea569357019ae2a05
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