fix: link company when make payment request

This commit is contained in:
Nihantra C. Patel
2024-08-29 14:42:45 +05:30
committed by GitHub
parent 12834ccf9a
commit e3008843d1

View File

@@ -489,6 +489,7 @@ def make_payment_request(**args):
"message": gateway_account.get("message") or get_dummy_message(ref_doc),
"reference_doctype": args.dt,
"reference_name": args.dn,
"company": ref_doc.get("company"),
"party_type": args.get("party_type") or "Customer",
"party": args.get("party") or ref_doc.get("customer"),
"bank_account": bank_account,