From 860a0f469613e60b4e417925d0e021771d69f1e4 Mon Sep 17 00:00:00 2001 From: Subin Tom <36098155+nemesis189@users.noreply.github.com> Date: Mon, 3 Jan 2022 19:06:40 +0530 Subject: [PATCH] fix: linters fix --- erpnext/stock/doctype/batch/batch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/doctype/batch/batch.py b/erpnext/stock/doctype/batch/batch.py index b32033c771b..a6f07f8237b 100644 --- a/erpnext/stock/doctype/batch/batch.py +++ b/erpnext/stock/doctype/batch/batch.py @@ -316,9 +316,9 @@ def make_batch(args): @frappe.whitelist() def get_pos_reserved_batch_qty(filters): - from frappe.query_builder.functions import Sum import json - + from frappe.query_builder.functions import Sum + if isinstance(filters, str): filters = json.loads(filters)