From 70f96e86f07461792eb46dea69a34a8a8e504848 Mon Sep 17 00:00:00 2001 From: Oak McIlwain Date: Wed, 20 Nov 2024 14:39:37 +0800 Subject: [PATCH] Resolve bugs preventing ministerial level approval in new CS workflow. --- boranga/components/conservation_status/models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/boranga/components/conservation_status/models.py b/boranga/components/conservation_status/models.py index 184a5b3b..8d3e8cde 100644 --- a/boranga/components/conservation_status/models.py +++ b/boranga/components/conservation_status/models.py @@ -1463,8 +1463,9 @@ def final_approval(self, request, details): if not self.can_be_approved: raise ValidationError( - "You cannot approve the proposal if it is not with an assessor with immediate approval level or" - "with an approver with ministerial approval level" + "You can only approve a Conservation Status Proposal " + "if the processing status is With Assessor AND it has immediate approval level or" + "the processing status is On Agenda AND it has ministerial approval level" ) # For conservation statuses that require ministerial approval