diff --git a/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py b/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py index 968beb3ca..ad6ed14f4 100644 --- a/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py +++ b/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py @@ -18,7 +18,7 @@ class PermanentLockDateWizard(models.TransientModel): if (company.permanent_lock_date and self.lock_date < company.permanent_lock_date): raise UserError( - _("You cannot set the permanent lock date in the past.") + _("You cannot set the permanent lock date before the already set one.") ) # Then check if unposted moves are present before the date moves = self.env['account.move'].search(