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"] """