mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-15 07:28:39 +00:00
fix: handle None args in transaction_processing
This commit is contained in:
@@ -15,7 +15,7 @@ def transaction_processing(
|
||||
|
||||
deserialized_data = frappe.parse_json(data)
|
||||
|
||||
args = frappe._dict(frappe.parse_json(args))
|
||||
args = frappe._dict(frappe.parse_json(args) or {})
|
||||
|
||||
skipped_records = [d for d in deserialized_data if d.get("status") in ("On Hold", "Closed")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user