Working with inventory module in Xin Inventory