[test] fixed circular dependencies
This commit is contained in:
parent
6fe962e6ad
commit
2dff9275f3
@ -30,7 +30,11 @@ def notify_status(doc, method):
|
|||||||
if not party_type:
|
if not party_type:
|
||||||
return
|
return
|
||||||
|
|
||||||
party = frappe.get_doc(party_type, doc.get(party_type.lower()))
|
name = doc.get(party_type.lower())
|
||||||
|
if not name:
|
||||||
|
return
|
||||||
|
|
||||||
|
party = frappe.get_doc(party_type, name)
|
||||||
config = get_notification_config().get('for_doctype').get(doc.doctype)
|
config = get_notification_config().get('for_doctype').get(doc.doctype)
|
||||||
|
|
||||||
status = None
|
status = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user