odoo/industry#1887

Created by fw-bot
Merged at a89a03f51ef8640d867f76b2c53796ac81919b06

Statuses:

label
odoo-dev:master-19.0-handle-uninstallation-of-industries-amas-509561-fw
head
21a8d88373a79fbc7c951b903592be1e4fbc38b1
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