mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
patch fix
This commit is contained in:
@@ -19,7 +19,7 @@ def create_receivable_payable_account():
|
||||
receivable_payable_accounts = frappe._dict()
|
||||
|
||||
def _create_account(args):
|
||||
if args["parent_account"]:
|
||||
if args["parent_account"] and frappe.db.exists("Account", args["parent_account"]):
|
||||
account_id = frappe.db.get_value("Account",
|
||||
{"account_name": args["account_name"], "company": args["company"]})
|
||||
if not account_id:
|
||||
|
||||
Reference in New Issue
Block a user