mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 20:35:09 +00:00
fix: expense account in stock entry
(cherry picked from commit 75874b4986)
This commit is contained in:
committed by
Mergify
parent
393e4462f8
commit
2f1f229144
@@ -721,6 +721,7 @@ def make_stock_entry(source_name, target_doc=None):
|
|||||||
"uom": "stock_uom",
|
"uom": "stock_uom",
|
||||||
"job_card_item": "job_card_item",
|
"job_card_item": "job_card_item",
|
||||||
},
|
},
|
||||||
|
"field_no_map": ["expense_account"],
|
||||||
"postprocess": update_item,
|
"postprocess": update_item,
|
||||||
"condition": lambda doc: (
|
"condition": lambda doc: (
|
||||||
flt(doc.ordered_qty, doc.precision("ordered_qty"))
|
flt(doc.ordered_qty, doc.precision("ordered_qty"))
|
||||||
|
|||||||
Reference in New Issue
Block a user