fix: dialog issue

This commit is contained in:
Rohit Waghchaure
2023-04-04 11:50:38 +05:30
parent 74ab20f97a
commit f79f2a3bab
8 changed files with 201 additions and 105 deletions

View File

@@ -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