To track the inventory for the delivery challan, please go to Settings >> preferences >> document >> delivery challans >> turn on the toggle for Track Inventory for Delivery Challan >> save and update