mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
Merge pull request #53028 from diptanilsaha/qm_ta
This commit is contained in:
@@ -122,7 +122,12 @@ class QualityProcedure(NestedSet):
|
|||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def get_children(doctype, parent=None, parent_quality_procedure=None, is_root=False):
|
def get_children(
|
||||||
|
doctype: str,
|
||||||
|
parent: str | None = None,
|
||||||
|
parent_quality_procedure: str | None = None,
|
||||||
|
is_root: bool = False,
|
||||||
|
):
|
||||||
if parent is None or parent == "All Quality Procedures":
|
if parent is None or parent == "All Quality Procedures":
|
||||||
parent = ""
|
parent = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user