fix: linting

Co-authored-by: Marica <maricadsouza221197@gmail.com>
This commit is contained in:
Mohammad Hasnain Mohsin Rajan 2020-12-10 17:48:05 +05:30 committed by GitHub
parent deaf2e80cb
commit ce1ca28296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -408,7 +408,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
show_description(row_to_modify.idx, row_to_modify.item_code);
this.frm.from_barcode = this.frm.from_barcode ? this.frm.from_barcode + 1: 1;
this.frm.from_barcode = this.frm.from_barcode ? this.frm.from_barcode + 1 : 1;
frappe.model.set_value(row_to_modify.doctype, row_to_modify.name, {
item_code: data.item_code,
qty: (row_to_modify.qty || 0) + 1