mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 18:21:22 +00:00
fix: do not validate stock during inward (#44417)
This commit is contained in:
@@ -972,6 +972,9 @@ class SerialandBatchBundle(Document):
|
|||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if self.voucher_type in ["Sales Invoice", "Delivery Note"] and self.type_of_transaction == "Inward":
|
||||||
|
return
|
||||||
|
|
||||||
if not self.has_batch_no:
|
if not self.has_batch_no:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user