mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
Codacy corrections
This commit is contained in:
@@ -20,7 +20,7 @@ let add_fields_to_mapping_table = function (frm) {
|
|||||||
if (!["Section Break", "Column Break"].includes(value.fieldtype)) {
|
if (!["Section Break", "Column Break"].includes(value.fieldtype)) {
|
||||||
options.push(value.fieldname);
|
options.push(value.fieldname);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
frappe.meta.get_docfield("Bank Transaction Mapping", "bank_transaction_field",
|
frappe.meta.get_docfield("Bank Transaction Mapping", "bank_transaction_field",
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ def add_account_subtype(account_subtype):
|
|||||||
"doctype": "Account Subtype",
|
"doctype": "Account Subtype",
|
||||||
"account_subtype": account_subtype
|
"account_subtype": account_subtype
|
||||||
}).insert()
|
}).insert()
|
||||||
except:
|
except Exception:
|
||||||
frappe.throw(frappe.get_traceback())
|
frappe.throw(frappe.get_traceback())
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
|
|||||||
Reference in New Issue
Block a user