mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
fix: update item reference in quality inspection
(cherry picked from commit 9da5010265)
# Conflicts:
# erpnext/public/js/controllers/transaction.js
This commit is contained in:
committed by
ruthra kumar
parent
d60d8a2625
commit
65c277fd27
@@ -1648,8 +1648,9 @@ def make_quality_inspections(doctype, docname, items):
|
||||
"sample_size": flt(item.get("sample_size")),
|
||||
"item_serial_no": item.get("serial_no").split("\n")[0] if item.get("serial_no") else None,
|
||||
"batch_no": item.get("batch_no"),
|
||||
"child_row_reference": item.get("child_row_reference"),
|
||||
}
|
||||
).insert()
|
||||
)
|
||||
quality_inspection.save()
|
||||
inspections.append(quality_inspection.name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user