mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-20 03:47:11 +00:00
fix: button to select serial / batch bundle in the subcontracting receipt
(cherry picked from commit d73b1f3e6a)
# Conflicts:
# erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json
# erpnext/subcontracting/doctype/subcontracting_receipt_supplied_item/subcontracting_receipt_supplied_item.json
This commit is contained in:
committed by
Mergify
parent
33b6244ae6
commit
d2a6509950
@@ -386,7 +386,7 @@ erpnext.buying = {
|
||||
if (r.message && (r.message.has_batch_no || r.message.has_serial_no)) {
|
||||
item.has_serial_no = r.message.has_serial_no;
|
||||
item.has_batch_no = r.message.has_batch_no;
|
||||
item.type_of_transaction = item.qty > 0 ? "Inward" : "Outward";
|
||||
item.type_of_transaction = item.rejected_qty > 0 ? "Inward" : "Outward";
|
||||
item.is_rejected = true;
|
||||
|
||||
new erpnext.SerialBatchPackageSelector(
|
||||
|
||||
Reference in New Issue
Block a user