From 29d565b9de0deb831074685b064d70c191d6c675 Mon Sep 17 00:00:00 2001 From: ervishnucs Date: Wed, 4 Mar 2026 16:25:30 +0530 Subject: [PATCH] fix: allow payment_request to be created in draft (cherry picked from commit 24825a16e053470b8b57c69afa31053af85f6265) --- erpnext/public/js/controllers/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 6ccf558f039..4a6ae04dac7 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -543,7 +543,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe schedules: selected, }, }); - + frappe.model.sync(pr_name); frappe.set_route("Form", "Payment Request", pr_name.name); }, });