clarity 0.0.1 clarity: ^0.0.1 copied to clipboard
Odoo JSON RPC Connector library for Flutter allows you to connect with Odoo 12+. Authenticate, Read data, updating and creating data, JSON type controllers, custom model methods
FluentOdoo #
A Odoo JSON-RPC Connector library for Flutter In an Eloquent.
This package contains set of method to call Odoo API with JSON-RPC using a Laravel Elequent Fluent Interface. You can call any odoo methods, controllers some of the information as below.
- Version Information
- Session information
- Authenticate user
- Database listing
- Create/Update/Unlink records
- Read records with fields for given ids of model
- Search and read based on domain filters.
- CallKW method for calling any model level methods with arguments.
- Calling json controller with params.
clarity = Clarity('address', 'username', 'password', 'table_name'); List Modules clarity.listModules().list(); List Databases: clarity.listDatabases().list(); Select Table: clarity.from('model_name').search('id').offset(0).limit(100).get(); Select Fields: clarity.select(['name', 'country_id', 'comment']).from('res.partner').get(); Read: clarity.from('model_name').read('id').offset(0).limit(100).get(); Offset: clarity.from('model_name').search('id').offset(0).limit(100).get(); Limit: clarity.from('model_name').read('id').offset(0).limit(100).get(); Search: clarity.from('model_name').search([]).get(); Count: clarity.from('model_name').count([]).get(); Delete: clarity.from('model_name').delete('id').get(); Create: clarity.from('model_name').create([]).get(); Update: clarity.from('model_name').insert([]).get();
Documentation: Please write me your feedback/issue on netesy@takadah.com