From b2a44e922ea22ed00e9b5abc1e223437eae36cbf Mon Sep 17 00:00:00 2001 From: vishal Date: Mon, 13 Jan 2020 13:30:40 +0530 Subject: [PATCH] fix: added auto_cancel_exempted_doctypes in boilerplate --- frappe/desk/form/linked_with.py | 2 +- frappe/utils/boilerplate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/desk/form/linked_with.py b/frappe/desk/form/linked_with.py index 1d6881ace2..6c679bf312 100644 --- a/frappe/desk/form/linked_with.py +++ b/frappe/desk/form/linked_with.py @@ -111,7 +111,7 @@ def get_exempted_doctypes(): """ Get list of doctypes exempted from being auto-cancelled """ auto_cancel_exempt_doctypes = [] - for doctypes in frappe.get_hooks('auto_cancel_exempt_doctypes'): + for doctypes in frappe.get_hooks('auto_cancel_exempted_doctypes'): auto_cancel_exempt_doctypes.append(doctypes) return auto_cancel_exempt_doctypes diff --git a/frappe/utils/boilerplate.py b/frappe/utils/boilerplate.py index e1dde1f0d4..b81d802a07 100755 --- a/frappe/utils/boilerplate.py +++ b/frappe/utils/boilerplate.py @@ -258,7 +258,7 @@ app_license = "{app_license}" # exempt linked doctypes from being automatically cancelled # -# cancel_exempt_doctypes = ["Auto Repeat"] +# auto_cancel_exempted_doctypes = ["Auto Repeat"] """