Skip to content

Commit

Permalink
Merge pull request #40337 from frappe/mergify/bp/version-15-hotfix/pr…
Browse files Browse the repository at this point in the history
…-40334

fix: load ignored doctype and include Mode of Payment Account (#40334)
  • Loading branch information
deepeshgarg007 authored Mar 10, 2024
2 parents b6e90c4 + 5fac500 commit df1a51e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ frappe.ui.form.on('Transaction Deletion Record', {
});

function populate_doctypes_to_be_ignored(doctypes_to_be_ignored_array, frm) {
if (!(frm.doc.doctypes_to_be_ignored)) {
if (frm.doc.doctypes_to_be_ignored.length === 0) {
var i;
for (i = 0; i < doctypes_to_be_ignored_array.length; i++) {
frm.add_child('doctypes_to_be_ignored', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ def get_doctypes_to_be_ignored():
"Bank Account",
"Item Tax Template",
"Mode of Payment",
"Mode of Payment Account",
"Item Default",
"Customer",
"Supplier",
Expand Down

0 comments on commit df1a51e

Please sign in to comment.