diff --git a/account_payment_pro_receiptbook/hooks.py b/account_payment_pro_receiptbook/hooks.py index 2219a58b1..4e736bda1 100644 --- a/account_payment_pro_receiptbook/hooks.py +++ b/account_payment_pro_receiptbook/hooks.py @@ -7,5 +7,5 @@ def _revert_method(cls, name): setattr(cls, name, method.origin) -def uninstall_hook(cr, registry): +def uninstall_hook(env): _revert_method(ReSequenceWizard, "default_get")