mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
Merge pull request #41957 from rohitwaghchaure/fixed-17237
fix: expense account from item group not fetched
This commit is contained in:
@@ -1650,7 +1650,7 @@ class StockEntry(StockController):
|
||||
"has_serial_no": item.has_serial_no,
|
||||
"has_batch_no": item.has_batch_no,
|
||||
"sample_quantity": item.sample_quantity,
|
||||
"expense_account": item.expense_account,
|
||||
"expense_account": item.expense_account or item_group_defaults.get("expense_account"),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user