From 39bcf6de32ab0d7d9093e87ef2a02545fdb8b77d Mon Sep 17 00:00:00 2001 From: Ronald Portier Date: Tue, 1 Dec 2020 22:48:34 +0100 Subject: [PATCH] [FIX] account_lock_to_date. Correct message. If setting the Advisor Lock To Date too early, the message instructed the user to do the exact opposite of what he/she should do to correct the problem. --- account_lock_to_date/models/res_company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_lock_to_date/models/res_company.py b/account_lock_to_date/models/res_company.py index 0c9f1b14b..6adc757d1 100644 --- a/account_lock_to_date/models/res_company.py +++ b/account_lock_to_date/models/res_company.py @@ -91,7 +91,7 @@ class ResCompany(models.Model): _( "You cannot lock a period that is not finished yet. " "Please make sure that the lock date for advisors is " - "not set after the last day of the previous month." + "set at or after the last day of the next month." ) )