Merge pull request #18453 from hrwX/iss_ful_fix_v12

fix(Issue): change agreement fulfilled to ongoing when resetting SLA
This commit is contained in:
Suraj Shetty 2019-07-29 18:27:43 +05:30 committed by GitHub
commit 344df219a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,6 +210,7 @@ class Issue(Document):
self.service_level_agreement_creation = now_datetime() self.service_level_agreement_creation = now_datetime()
self.set_response_and_resolution_time(priority=self.priority, service_level_agreement=self.service_level_agreement) self.set_response_and_resolution_time(priority=self.priority, service_level_agreement=self.service_level_agreement)
self.agreement_fulfilled = "Ongoing"
self.save() self.save()
def get_expected_time_for(parameter, service_level, start_date_time): def get_expected_time_for(parameter, service_level, start_date_time):