fix: auto fetch batch and serial no for draft stock transactions

(cherry picked from commit 88ab9be79c)

# Conflicts:
#	erpnext/stock/get_item_details.py
This commit is contained in:
Rohit Waghchaure
2025-01-13 16:34:08 +05:30
committed by Mergify
parent f954b241a8
commit 2f2554e9e5
5 changed files with 191 additions and 4 deletions

View File

@@ -579,6 +579,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
child_doctype: item.doctype,
child_docname: item.name,
is_old_subcontracting_flow: me.frm.doc.is_old_subcontracting_flow,
use_serial_batch_fields: item.use_serial_batch_fields,
serial_and_batch_bundle: item.serial_and_batch_bundle,
}
},