Skip to content

Commit

Permalink
fix - remove purchase checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
maniamartial committed Jul 6, 2024
1 parent bb0e031 commit 94cbc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion burundi_compliance/burundi_compliance/data/stock_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 94cbc71

Please sign in to comment.