I am having the following issue while updating items table in stock entry using barcode. Kindly help
Traceback (most recent call last):
File “/home/ahmad/erpnext12/apps/frappe/frappe/app.py”, line 60, in application
response = frappe.api.handle()
File “/home/ahmad/erpnext12/apps/frappe/frappe/api.py”, line 55, in handle
return frappe.handler.handle()
File “/home/ahmad/erpnext12/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/ahmad/erpnext12/apps/frappe/frappe/handler.py”, line 61, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/ahmad/erpnext12/apps/frappe/frappe/init.py”, line 1038, in call
return fn(*args, **newargs)
File “/home/ahmad/erpnext12/apps/frappe/frappe/handler.py”, line 89, in runserverobj
frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File “/home/ahmad/erpnext12/apps/frappe/frappe/desk/form/run_method.py”, line 43, in runserverobj
r = doc.run_method(method)
File “/home/ahmad/erpnext12/apps/frappe/frappe/model/document.py”, line 787, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/ahmad/erpnext12/apps/frappe/frappe/model/document.py”, line 1058, in composer
return composed(self, method, *args, **kwargs)
File “/home/ahmad/erpnext12/apps/frappe/frappe/model/document.py”, line 1041, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/ahmad/erpnext12/apps/frappe/frappe/model/document.py”, line 781, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/ahmad/erpnext12/apps/erpnext/erpnext/stock/doctype/stock_entry/stock_entry.py”, line 411, in get_stock_and_rate
self.set_transfer_qty()
File “/home/ahmad/erpnext12/apps/erpnext/erpnext/stock/doctype/stock_entry/stock_entry.py”, line 141, in set_transfer_qty
frappe.throw(_(“Row {0}: Qty is mandatory”).format(item.idx))
File “/home/ahmad/erpnext12/apps/frappe/frappe/init.py”, line 360, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/ahmad/erpnext12/apps/frappe/frappe/init.py”, line 346, in msgprint
_raise_exception()
File “/home/ahmad/erpnext12/apps/frappe/frappe/init.py”, line 315, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Row 1: Qty is mandatory