mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
Fixed the issue Serial No serial no not found
This commit is contained in:
@@ -803,9 +803,10 @@ class SalesInvoice(SellingController):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
for serial_no in item.serial_no.split("\n"):
|
for serial_no in item.serial_no.split("\n"):
|
||||||
sno = frappe.get_doc('Serial No', serial_no)
|
if serial_no and frappe.db.exists('Serial No', serial_no):
|
||||||
sno.sales_invoice = invoice
|
sno = frappe.get_doc('Serial No', serial_no)
|
||||||
sno.db_update()
|
sno.sales_invoice = invoice
|
||||||
|
sno.db_update()
|
||||||
|
|
||||||
def validate_serial_numbers(self):
|
def validate_serial_numbers(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user