mirror of
https://github.com/frappe/erpnext.git
synced 2026-10-29 22:57:42 +00:00
fix(manufacturing): use get_list for workstation job cards
This commit is contained in:
@@ -202,7 +202,7 @@ class Workstation(Document):
|
||||
@frappe.whitelist()
|
||||
def get_job_cards(workstation):
|
||||
if frappe.has_permission("Job Card", "read"):
|
||||
jc_data = frappe.get_all(
|
||||
jc_data = frappe.get_list(
|
||||
"Job Card",
|
||||
fields=[
|
||||
"name",
|
||||
|
||||
Reference in New Issue
Block a user