erpnext
erpnext copied to clipboard
Batch qty is not updated when it is deactivated
Information about bug
Currently, you can create a Purchase Receipt and add stock to a deactivated batch. However, the qty of the batch will not be updated.
Either
- it should not be allowed to add stock to a deactivated batch, or
- batch qty should be updated, even when it is deactivated
Module
stock
Version
ERPNext: v15.20.5 (HEAD) Frappe Framework: v15.23.0 (HEAD)
Installation method
FrappeCloud
Relevant log output / Stack trace / Full Error Message.
No response