I think the problem is in str(movesw)
because __str__
of a list display the __repr__
of the content. But the __repr__
of Proteus Model and Trytond Model are not the same.
Indeed I think we should use something like '|'.join(map(str, records))
in Warning.format
to be more generic (see Format warning name indepentently of the platform (#10672) · Issues · Tryton / Tryton · GitLab).