fix: codacy linting

This commit is contained in:
scmmishra 2019-04-17 10:26:21 +05:30
parent 6d3302b0cc
commit 5522cf8c26

View File

@ -75,7 +75,7 @@ erpnext.SerialNoBatchSelector = Class.extend({
fieldtype:'Button',
hidden: me.has_batch ? 1 : 0,
label: __('Fetch based on FIFO'),
click: (e) => {
click: () => {
let qty = this.dialog.fields_dict.qty.get_value();
let numbers = frappe.call({
method: "erpnext.stock.doctype.serial_no.serial_no.auto_fetch_serial_number",