Merge pull request #18099 from hrwX/issue_fix

fix: Remove whitelisted method
This commit is contained in:
Himanshu 2019-06-28 00:02:01 +05:30 committed by GitHub
commit 130dcffcc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,6 @@ class Issue(Document):
self.response_by_variance = round(time_diff_in_hours(self.response_by, now_datetime()))
self.resolution_by_variance = round(time_diff_in_hours(self.resolution_by, now_datetime()))
@frappe.whitelist()
def change_service_level_agreement_and_priority(self, priority=None, service_level_agreement=None):
self.set_response_and_resolution_time(priority=priority, service_level_agreement=service_level_agreement)
self.save(ignore_permissions=True)