mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 15:45:01 +00:00
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:
@@ -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