fix: added auto_cancel_exempted_doctypes in boilerplate
This commit is contained in:
parent
e2c7afd333
commit
b2a44e922e
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue