fix: added auto_cancel_exempted_doctypes in boilerplate

This commit is contained in:
vishal 2020-01-13 13:30:40 +05:30
parent e2c7afd333
commit b2a44e922e
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

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