Merge pull request #46584 from frappe/mergify/bp/version-15-hotfix/pr-46575

fix: fetch quality inspection parameter group (backport #46575)
This commit is contained in:
rohitwaghchaure
2025-03-18 17:28:33 +05:30
committed by GitHub

View File

@@ -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):