Update in purchase/return would give wrong product changed error when a product was deleted as the id of the inventory was not checked properly
Update in purchase/return would give wrong product changed error when a product was deleted as the id of the inventory was not checked properly