mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-16 18:24:10 +00:00
committed by
Mergify
parent
88b4699025
commit
744d7a2793
@@ -401,6 +401,9 @@ class SerialBatchBundle:
|
||||
|
||||
def submit_serial_and_batch_bundle(self):
|
||||
doc = frappe.get_doc("Serial and Batch Bundle", self.sle.serial_and_batch_bundle)
|
||||
if self.sle.voucher_detail_no and doc.voucher_detail_no != self.sle.voucher_detail_no:
|
||||
doc.voucher_detail_no = self.sle.voucher_detail_no
|
||||
|
||||
self.validate_actual_qty(doc)
|
||||
|
||||
doc.flags.ignore_voucher_validation = True
|
||||
|
||||
Reference in New Issue
Block a user