Commit 1126d98
committed
[FIX] cetmix_tower_jet_isolation: expose uninstall_hook at module root level
Odoo resolves the hook with getattr(py_module, 'uninstall_hook'), so the
function must be a direct attribute of the package, not just a submodule.
Replace 'from . import hooks' with 'from .hooks import uninstall_hook'.1 parent 7c1970e commit 1126d98
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
0 commit comments