Below Error while creating new sales invoice.
ImportError: cannot import name ‘set_batch_nos’ from ‘erpnext.stock.doctype.batch.batch’ (apps/erpnext/erpnext/stock/doctype/batch/batch.py)