fixed-#37231-changed-doc-to-d/closes-the-isse

This commit is contained in:
Rishik Sahu 2023-10-12 14:03:49 +05:30
parent ff7c77e9fd
commit 5ebf7c8c29

View File

@ -116,7 +116,7 @@ erpnext.accounts.taxes = {
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;
}