Port to tryton version 2.6