mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 16:13:22 +00:00
fix: dialog issue
This commit is contained in:
@@ -177,6 +177,11 @@ class SerialBatchBundle:
|
||||
{"is_cancelled": 1, "voucher_no": ""},
|
||||
)
|
||||
|
||||
if self.sle.serial_and_batch_bundle:
|
||||
frappe.get_cached_doc(
|
||||
"Serial and Batch Bundle", self.sle.serial_and_batch_bundle
|
||||
).validate_serial_and_batch_inventory()
|
||||
|
||||
def post_process(self):
|
||||
if not self.sle.serial_and_batch_bundle:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user