mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 23:54:59 +00:00
fix: fetch quality inspection parameter group
This commit is contained in:
@@ -181,6 +181,9 @@ class QualityInspection(Document):
|
||||
child = self.append("readings", {})
|
||||
child.update(d)
|
||||
child.status = "Accepted"
|
||||
child.parameter_group = frappe.get_value(
|
||||
"Quality Inspection Parameter", d.specification, "parameter_group"
|
||||
)
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_quality_inspection_template(self):
|
||||
|
||||
Reference in New Issue
Block a user