fixed-#37231-changed-doc-to-d/closes-the-isse
This commit is contained in:
parent
ff7c77e9fd
commit
5ebf7c8c29
@ -116,7 +116,7 @@ erpnext.accounts.taxes = {
|
|||||||
account_head: function(frm, cdt, cdn) {
|
account_head: function(frm, cdt, cdn) {
|
||||||
let d = locals[cdt][cdn];
|
let d = locals[cdt][cdn];
|
||||||
|
|
||||||
if (doc.docstatus == 1) {
|
if (d.docstatus == 1) {
|
||||||
// Should not trigger any changes on change post submit
|
// Should not trigger any changes on change post submit
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user