I think we can make this more generic:
def alter_column_type(cr, table, field, type)