From 94cbc716acbc5682e81992e31f018edfa92f1885 Mon Sep 17 00:00:00 2001 From: maniamartial Date: Sat, 6 Jul 2024 09:53:42 +0300 Subject: [PATCH] fix - remove purchase checkbox --- burundi_compliance/burundi_compliance/data/stock_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/burundi_compliance/burundi_compliance/data/stock_data.py b/burundi_compliance/burundi_compliance/data/stock_data.py index 290dd38..f519d47 100644 --- a/burundi_compliance/burundi_compliance/data/stock_data.py +++ b/burundi_compliance/burundi_compliance/data/stock_data.py @@ -18,7 +18,7 @@ def single_stock_data(doc, method=None): stock_movement_data=[] for item in purchase_invoice_items: item_doc = frappe.get_doc("Item", item.item_code) - check_br_permission=item_doc.custom_allow_obr_to_track_purchase + check_br_permission=item_doc.custom_allow_obr_to_track_stock_movement if not check_br_permission: continue