fix: do not validate stock during inward (#44417)

This commit is contained in:
rohitwaghchaure
2024-11-29 15:24:06 +05:30
committed by GitHub
parent 76bd1017f4
commit d37d7b9811

View File

@@ -972,6 +972,9 @@ class SerialandBatchBundle(Document):
):
return
if self.voucher_type in ["Sales Invoice", "Delivery Note"] and self.type_of_transaction == "Inward":
return
if not self.has_batch_no:
return