Nucleus is a Odoo Json RPC client for Android. This RPC let you to adapt some Odoo module to Android in a simple way.
Odoo specific methods can be access using singleton objects Odoo.
Login Account related fuctionally can be access using Context's Extension functions.
Authentification as well as Sessions are managed inside application's core module. You should not use any session related methods anywhere, it may lead to unexpected behaviour.
Creates a new record for the model
Request
Odoo.create(
// Your code
) {
onSubscribe {
// Disponsable
}
onNext {
// Response
}
onError {
// Deal the error
}
onComplete {
// Your code
}
}Result
{
"result": 45
}Reads the requested fields for the records
Request
Odoo.read(
// Your code
) {
onSubscribe {
// Disponsable
}
onNext {
// Response
}
onError {
// Your code
}
onComplete {
// Your code
}
}Result
{
"result": [
{
"email": "info@yourcompany.example.com",
"id": 1,
"name": "YourCompany"
},
{
"email": "admin@yourcompany.example.com",
"id": 3,
"name": "Administrator",
}
]
}- RxJava
- Retrofit
- OkHttp
- Glide
- Timber
- Data Binding
- Gson
This project is licensed under the MIT License.



