You get this error (check below)  when saving the item after changing the item group.




To solve this issue, you have to check  Sales, Purchases, Accounting Default if this item is associated with more than one warheouse or not.If there is no warehouse associated, you just need to allocate one and save the item.