better fix for web services for inventory entity

--HG--
extra : source : 764d279299242d0ab56f0dfbbdd47c884614f63b