From cd33904bec7b62c3a29512e6916d7745a77ce7e3 Mon Sep 17 00:00:00 2001 From: Hakan Date: Thu, 27 Feb 2025 15:46:09 +0300 Subject: [PATCH] expose year_of_audit in engagement views --- CHANGES | 4 ++++ src/etools_datamart/__init__.py | 2 +- .../api/endpoints/datamart/audit_engagement.py | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 8ba0bbfa..d68cdd8b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +4.7.15 +---- +* Exposed year_of_audit in two engagement views. + 4.7.14 ---- * Fix logic error extract_longitude function diff --git a/src/etools_datamart/__init__.py b/src/etools_datamart/__init__.py index 2a7dd1b1..f7c6faf2 100644 --- a/src/etools_datamart/__init__.py +++ b/src/etools_datamart/__init__.py @@ -1,3 +1,3 @@ NAME = "etools-datamart" -VERSION = __version__ = "4.7.14" +VERSION = __version__ = "4.7.15" __author__ = "" diff --git a/src/etools_datamart/api/endpoints/datamart/audit_engagement.py b/src/etools_datamart/api/endpoints/datamart/audit_engagement.py index c319afff..06bdbc95 100644 --- a/src/etools_datamart/api/endpoints/datamart/audit_engagement.py +++ b/src/etools_datamart/api/endpoints/datamart/audit_engagement.py @@ -51,6 +51,7 @@ class Meta(DataMartSerializer.Meta): "partner", "agreement", "po_item", + "year_of_audit", ) @@ -121,6 +122,7 @@ class Meta(DataMartSerializer.Meta): "action_points", "status", "audit_opinion", + "year_of_audit", ) def get_partner(self, obj):