serverUuid property

String serverUuid

Unique identifier of remote Odoo instance

Implementation

String get serverUuid {
  if (!isAuthenticated) {
    throw OdooException('Not Authenticated');
  }
  return sha1
      .convert(utf8.encode('${orpc.baseURL}${orpc.sessionId!.dbName}'))
      .toString();
}