Merge pull request #37475 from iamrishiksahu/fix/#37231-doc-is-not-defined
fix: fixed the doc not defined issue.
This commit is contained in:
commit
5167fb2bae
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user