Fix on inventory importation and purchases