fix: additional cost not consider in valuation rate for Stock Entry transfer

(cherry picked from commit bbc772abe7)

# Conflicts:
#	erpnext/stock/doctype/stock_entry/test_stock_entry.py
This commit is contained in:
Rohit Waghchaure
2025-08-16 23:35:27 +05:30
committed by Mergify
parent 6030eb2992
commit e4398d3761
3 changed files with 152 additions and 1 deletions

View File

@@ -1854,6 +1854,7 @@ def make_bundle_for_material_transfer(**kwargs):
row.warehouse = kwargs.warehouse
bundle_doc.set_incoming_rate()
bundle_doc.calculate_qty_and_amount()
bundle_doc.flags.ignore_permissions = True
bundle_doc.flags.ignore_validate = True