OdooClient class
- Inheritance
-
- Object
- OdooConnector
- OdooClient
Constructors
- OdooClient(String serverUrl)
Properties
- client ↔ Client
-
getter/setter pairinherited
- databases ↔ List
-
getter/setter pairinherited
- debugRPC ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
finalinherited
- odooVersion ↔ OdooVersion
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverURL → String
-
finalinherited
- sessionId ↔ String?
-
getter/setter pairinherited
Methods
-
authenticate(
String username, String password, String database) → Future< AuthenticateCallback> -
callController(
String path, Map params) → Future< OdooResponse> -
callKW(
String model, String method, List args, {dynamic kwargs, Map< String, dynamic> context = const {}}) → Future<OdooResponse> -
callRequest(
String url, Map payload) → Future< OdooResponse> -
inherited
-
connect(
) → Future< OdooVersion> -
inherited
-
create(
String model, Map values) → Future< OdooResponse> -
createPath(
String path) → String -
inherited
-
createPayload(
Map params) → Map -
inherited
-
getDatabases(
) → Future< List> -
inherited
-
getSessionInfo(
) → Future< OdooResponse> -
getVersionInfo(
) → Future< OdooVersion> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String model, List< int> ids, List<String> fields, {dynamic kwargs, Map<String, dynamic> context = const {}}) → Future<OdooResponse> -
searchRead(
String model, List domain, List< String> fields, {int offset = 0, int limit = 0, String order = "create_date"}) → Future<OdooResponse> -
setDebugRPC(
bool debug) → void -
inherited
-
setSessionId(
String sessionId) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unlink(
String model, List< int> ids) → Future<OdooResponse> -
write(
String model, List< int> ids, Map values) → Future<OdooResponse>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited