Make inventory details dialog faster

By using a viewable to load the data, the dialog loads a lot faster when the
inventory has a lot of products

Change-Id: Ib1d2fe60d7eb81114ab4ca9ce53b5f88b614f25b