fix(pos): unsupported operand type -=: for 'float' and 'NoneType' (#26097)

This commit is contained in:
Saqib
2021-06-21 10:49:09 +05:30
committed by GitHub
parent ab3cd7e283
commit fb89008a13
3 changed files with 4 additions and 4 deletions

View File

@@ -387,7 +387,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
if(this.frm.doc.scan_barcode) {
frappe.call({
method: "erpnext.selling.page.point_of_sale.point_of_sale.search_serial_or_batch_or_barcode_number",
method: "erpnext.selling.page.point_of_sale.point_of_sale.search_for_serial_or_batch_or_barcode_number",
args: { search_value: this.frm.doc.scan_barcode }
}).then(r => {
const data = r && r.message;