stock.quant inventory_quantity_set and (inventory_quantity < 0 or has_over_discrepancy)