used the new ir_entity type