Skip to content

Commit

Permalink
fix: expense account set as COGS for stock entry Material Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure committed Apr 16, 2024
1 parent 760e341 commit 81d510d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion erpnext/stock/doctype/stock_entry/stock_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,6 @@ def get_item_details(self, args=None, for_update=False):
ret["expense_account"] = (
item.get("expense_account")
or item_group_defaults.get("expense_account")
or frappe.get_cached_value("Company", self.company, "default_expense_account")
)

for company_field, field in {
Expand Down

0 comments on commit 81d510d

Please sign in to comment.