fix: do not validate stock during inward (#44417)
(cherry picked from commit d37d7b9811)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user