Merge pull request #46583 from frappe/mergify/bp/version-14-hotfix/pr-46575

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

View File

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