mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
refactor: sample retention stock entry
This commit is contained in:
@@ -1116,7 +1116,7 @@ class SerialBatchCreation:
|
||||
|
||||
id = self.serial_and_batch_bundle
|
||||
package = frappe.get_doc("Serial and Batch Bundle", id)
|
||||
new_package = frappe.copy_doc(package)
|
||||
new_package = frappe.copy_doc(package, ignore_no_copy=False)
|
||||
|
||||
if self.get("returned_serial_nos"):
|
||||
self.remove_returned_serial_nos(new_package)
|
||||
|
||||
Reference in New Issue
Block a user