Adding master branch bit

--HG--
branch : master
Fixed COGS qty/allocated type mismatch

--HG--
branch : master