Skip to content

Commit

Permalink
[ch33313] correct min_req_spot_checks for Partners (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
emaciupe authored Mar 17, 2023
1 parent bf76f0a commit 2e2088e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from etools_datamart.apps.sources.etools.models import (
AuditSpotcheck,
PartnersPartnerorganization,
PartnersPartnerplannedvisits,
PartnersPlannedengagement,
)

from .consts import PartnerOrganizationConst, PartnerType
Expand Down Expand Up @@ -65,8 +65,8 @@ def min_req_spot_checks(self):
return 0

try:
self.PartnersPartnerplannedvisits_partner
except PartnersPartnerplannedvisits.DoesNotExist:
self.PartnersPlannedengagement_partner
except PartnersPlannedengagement.DoesNotExist:
pass
else:
if self.planned_engagement.scheduled_audit:
Expand Down

0 comments on commit 2e2088e

Please sign in to comment.