fix(sla): 'doctype' is not defined (#26982)
This commit is contained in:
parent
d932cba38a
commit
3c525e1136
@ -220,7 +220,7 @@ def get_active_service_level_agreement_for(doc):
|
||||
return
|
||||
|
||||
filters = [
|
||||
["Service Level Agreement", "document_type", "=", doctype],
|
||||
["Service Level Agreement", "document_type", "=", doc.get('doctype')],
|
||||
["Service Level Agreement", "enabled", "=", 1]
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user