diff --git a/account_lock_date_update/wizards/account_update_lock_date.py b/account_lock_date_update/wizards/account_update_lock_date.py
index 6f5aa9901..f033bce64 100644
--- a/account_lock_date_update/wizards/account_update_lock_date.py
+++ b/account_lock_date_update/wizards/account_update_lock_date.py
@@ -35,7 +35,6 @@ class AccountUpdateLockDate(models.TransientModel):
})
return res
- @api.multi
def _check_execute_allowed(self):
self.ensure_one()
has_adviser_group = self.env.user.has_group(
@@ -43,7 +42,6 @@ class AccountUpdateLockDate(models.TransientModel):
if not (has_adviser_group or self.env.uid == SUPERUSER_ID):
raise UserError(_("You are not allowed to execute this action."))
- @api.multi
def execute(self):
self.ensure_one()
self._check_execute_allowed()
diff --git a/account_lock_date_update/wizards/account_update_lock_date.xml b/account_lock_date_update/wizards/account_update_lock_date.xml
index d434baf6d..0816faece 100644
--- a/account_lock_date_update/wizards/account_update_lock_date.xml
+++ b/account_lock_date_update/wizards/account_update_lock_date.xml
@@ -9,7 +9,7 @@
account.update.lock_date