shows error on edit page  when fails
validates product_id, unit, option_type_ids, size_type_ids