stock report: use high level inventory API and small cleanups
temp commit to be able to update instance with other local roles format

not to be merged in master