From ec83d54826d7218aadc18d8ef7ddeb6f8bd99fc3 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 14 Mar 2024 13:48:51 +0530 Subject: [PATCH] chore: fix test case --- .../doctype/closing_stock_balance/closing_stock_balance.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py b/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py index 1c7018366af8..e99a0b1add2a 100644 --- a/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py +++ b/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py @@ -123,7 +123,9 @@ def create_closing_stock_balance_entries(self): ) ) - create_json_gz_file({"columns": columns, "data": data}, self.doctype, self.name) + create_json_gz_file( + {"columns": columns, "data": data}, self.doctype, self.name, "closing-stock-balance" + ) def get_prepared_data(self): if attachments := get_attachments(self.doctype, self.name):