stock.quant.tree.inherit.expiry_date stock.quant removal_date < current_date or quantity < 0 stock.quant.tree.editable.inherit.expiry_date stock.quant stock.quant.inventory.tree.editable.inherit.expiry_date stock.quant stock.quant.search.inherit stock.quant