Merge pull request #35591 from resilient-tech/remove-whitelisting

chore: remove whitelisting for methods not accessed from UI
This commit is contained in:
Deepesh Garg
2023-06-20 20:29:49 +05:30
committed by GitHub
5 changed files with 0 additions and 5 deletions

View File

@@ -191,7 +191,6 @@ def process_string_args(args):
return args
@frappe.whitelist()
def get_item_code(barcode=None, serial_no=None):
if barcode:
item_code = frappe.db.get_value("Item Barcode", {"barcode": barcode}, fieldname=["parent"])