mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 05:04:52 +01:00
* fix: do not overwrite expense account in stock entry (#53658)
(cherry picked from commit fa35fbdb8e)
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
* chore: resolve conflicts
---------
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
This commit is contained in:
@@ -590,9 +590,6 @@ class StockEntry(StockController):
|
||||
flt(item.qty) * flt(item.conversion_factor), self.precision("transfer_qty", item)
|
||||
)
|
||||
|
||||
if self.purpose == "Manufacture":
|
||||
item.set("expense_account", item_details.get("expense_account"))
|
||||
|
||||
def validate_fg_completed_qty(self):
|
||||
item_wise_qty = {}
|
||||
if self.purpose == "Manufacture" and self.work_order:
|
||||
|
||||
Reference in New Issue
Block a user