Ensure right model is used in Many2One sql_format

Closes #6074
13 jobs for !206 with topic/default/trytond-many2one-assert-model in 11 minutes and 57 seconds (queued for 5 seconds)
latest merge request