commit | 5ebf7c8c29eb9c318529cd55943b76b2467f135c | [log] [tgz] |
---|---|---|
author | Rishik Sahu <rishikkr@hotmail.com> | Thu Oct 12 14:03:49 2023 +0530 |
committer | Rishik Sahu <rishikkr@hotmail.com> | Thu Oct 12 14:03:49 2023 +0530 |
tree | 3b242c8d17bef0742a4f2a0cd27feb1f261060ca | |
parent | ff7c77e9fd0b8051b5309ded430c422aa0b89612 [diff] |
fixed-#37231-changed-doc-to-d/closes-the-isse
diff --git a/erpnext/public/js/controllers/accounts.js b/erpnext/public/js/controllers/accounts.js index a2e4bda..3545521 100644 --- a/erpnext/public/js/controllers/accounts.js +++ b/erpnext/public/js/controllers/accounts.js
@@ -116,7 +116,7 @@ account_head: function(frm, cdt, cdn) { let d = locals[cdt][cdn]; - if (doc.docstatus == 1) { + if (d.docstatus == 1) { // Should not trigger any changes on change post submit return; }