Fix filter categories by PoS_Type

	- The old code was out of sync, pos_type_ids is no
           used anymore. Now replaced by pos_type and
	   pos_category_ids.

	- If no type is assigned or the type has no
           categories defined, then show all categories.