Skip to content

Commit 8b1d720

Browse files
authored
Merge pull request #3319 from unicef/staging
[hotfix] Staging
2 parents 108ceef + b9cbbfb commit 8b1d720

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/etools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
VERSION = __version__ = '9.12'
1+
VERSION = __version__ = '9.12.1'
22
NAME = 'eTools'

src/etools/applications/partners/models.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,13 @@ def min_req_spot_checks(self):
635635
return 0
636636
if self.type_of_assessment == 'Low Risk Assumed' or reported_cy <= PartnerOrganization.CT_CP_AUDIT_TRIGGER_LEVEL:
637637
return 0
638+
try:
639+
self.planned_engagement
640+
except PlannedEngagement.DoesNotExist:
641+
pass
642+
else:
643+
if self.planned_engagement.scheduled_audit:
644+
return 0
638645
return 1
639646

640647
@cached_property

0 commit comments

Comments
 (0)