[FIX] ir_model: on a custom model, _rec_name should be 'x_name' if it exists