Skip to content

Commit

Permalink
fix: Ignore linked JE on JE cancellation (#33852)
Browse files Browse the repository at this point in the history
fix: Ignore linked JE on JE cancellation (#33852)

(cherry picked from commit 428b099)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
  • Loading branch information
mergify[bot] and deepeshgarg007 authored Jan 29, 2023
1 parent 0fcf364 commit a0e1ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/doctype/journal_entry/journal_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ frappe.provide("erpnext.journal_entry");
frappe.ui.form.on("Journal Entry", {
setup: function(frm) {
frm.add_fetch("bank_account", "account", "account");
frm.ignore_doctypes_on_cancel_all = ['Sales Invoice', 'Purchase Invoice'];
frm.ignore_doctypes_on_cancel_all = ['Sales Invoice', 'Purchase Invoice', 'Journal Entry'];
},

refresh: function(frm) {
Expand Down

0 comments on commit a0e1ee0

Please sign in to comment.