Format warning name indepentently of the platform
Following https://discuss.tryton.org/t/create-initial-stock-moves-with-proteus-on-a-remote-server/4545/3
It will be better to use __str__
of the record instead of __repr__
which depends of the implementation (trytond or proteus).