From acde16632d3a9975ed794a566f60d025dbbb1acf Mon Sep 17 00:00:00 2001 From: fproldan Date: Wed, 12 Jun 2024 12:47:22 +0000 Subject: [PATCH] fix: rm unused variable --- inventory_tools/inventory_tools/overrides/purchase_order.py | 1 - 1 file changed, 1 deletion(-) diff --git a/inventory_tools/inventory_tools/overrides/purchase_order.py b/inventory_tools/inventory_tools/overrides/purchase_order.py index d02ce4e..fd89fd8 100644 --- a/inventory_tools/inventory_tools/overrides/purchase_order.py +++ b/inventory_tools/inventory_tools/overrides/purchase_order.py @@ -157,7 +157,6 @@ def make_purchase_receipts(docname: str, rows: Union[list, str]) -> None: rows = json.loads(rows) if isinstance(rows, str) else rows doc = frappe.get_doc("Purchase Order", docname) inventory_tools_settings = frappe.get_doc("Inventory Tools Settings", doc.company) - prs = [] forwarding = frappe._dict() for row_name in rows: