Migrate Selection Field to Many2One

Greetings.

I need to migrate some Selection fields to Many2one. It is possible? And in the case if it’s, which is the proper manner?

Thanks

Tryton can not do that automatically. You will have to write your own migration code in the Model.__register__ method.

Thanks.

Is there documentation about the method? Or an example for this specific case?

It is mainly about writing the proper SQL queries. The TableHandle provides some helper for common operations.