Skip to content

Commit 1126d98

Browse files
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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
from . import hooks, models, wizards
1+
from . import models, wizards
2+
from .hooks import uninstall_hook

0 commit comments

Comments
 (0)