Need to define the sqlalchemy according to the dolibarr version. DolibarrSQLAlchemy embeds now the classes.