mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +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)) {
|
||||
options.push(value.fieldname);
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
frappe.meta.get_docfield("Bank Transaction Mapping", "bank_transaction_field",
|
||||
|
||||
@@ -109,7 +109,7 @@ def add_account_subtype(account_subtype):
|
||||
"doctype": "Account Subtype",
|
||||
"account_subtype": account_subtype
|
||||
}).insert()
|
||||
except:
|
||||
except Exception:
|
||||
frappe.throw(frappe.get_traceback())
|
||||
|
||||
@frappe.whitelist()
|
||||
|
||||
Reference in New Issue
Block a user