mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 18:53:39 +00:00
fix(stock-entry): fetch empty batch for finished item
This commit is contained in:
@@ -457,7 +457,8 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate {
|
||||
(["Purchase Receipt", "Purchase Invoice"].includes(this.frm.doc.doctype) &&
|
||||
!this.frm.doc.is_return) ||
|
||||
(this.frm.doc.doctype === "Stock Entry" &&
|
||||
this.frm.doc.purpose === "Material Receipt")
|
||||
(this.frm.doc.purpose === "Material Receipt" ||
|
||||
(this.frm.doc.purpose === "Manufacture" && this.item.is_finished_item)))
|
||||
) {
|
||||
is_inward = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user