fix: fetch quality inspection parameter group
(cherry picked from commit 0a482c7ea8)
This commit is contained in:
@@ -49,6 +49,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