OdooDotNet 0.16.1
dotnet add package OdooDotNet --version 0.16.1
NuGet\Install-Package OdooDotNet -Version 0.16.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OdooDotNet" Version="0.16.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OdooDotNet" Version="0.16.1" />
<PackageReference Include="OdooDotNet" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OdooDotNet --version 0.16.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OdooDotNet, 0.16.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OdooDotNet@0.16.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OdooDotNet&version=0.16.1
#tool nuget:?package=OdooDotNet&version=0.16.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OdooDotNet
A modern .NET client for the Odoo API with full JSON-RPC protocol support.
Features
- ✅ Full Odoo JSON-RPC protocol support
- ✅ Many2One relationships management
- ✅ Automatic JSON type conversion
- ✅ Optional fields support
- ✅ Strongly typed API
- ✅ Compatible with .NET 10.0
- ✅ Model field compliance checking
- ✅ Comprehensive unit tests
Usage
using OdooDotNet;
// Configuration
var configuration = new OdooConfiguration
{
BaseUrl = "https://your-odoo-instance.com",
Database = "your-database",
Username = "your-username",
Password = "your-password"
};
// Create client
var client = new OdooClient(configuration);
// Authenticate
await client.AuthenticateAsync();
// Get server information
var serverInfo = await client.GetServerInfoAsync();
// Use models
var modelClient = client.GetModelClient<YourModel>("model.name");
var records = await modelClient.SearchReadAsync();
// Check field compliance
var complianceResult = await client.CheckFieldComplianceAsync<YourModel>("model.name");
if (!complianceResult.IsCompliant)
{
foreach (var error in complianceResult.Errors)
{
Console.WriteLine($"Error: {error}");
}
}
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Authors
Developed by Cellenza
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- ErrorOr (>= 2.0.1)
- Microsoft.Extensions.Http (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.16.1 | 102 | 5/22/2026 |
| 0.16.0 | 100 | 5/22/2026 |
| 0.15.2 | 106 | 5/13/2026 |
| 0.15.1 | 102 | 5/11/2026 |
| 0.15.0 | 110 | 4/24/2026 |
| 0.14.0 | 139 | 4/17/2026 |
| 0.13.0 | 143 | 4/9/2026 |
| 0.12.0 | 142 | 3/31/2026 |
| 0.11.0 | 149 | 3/29/2026 |
| 0.10.0 | 149 | 3/27/2026 |
| 0.8.1 | 149 | 3/19/2026 |
| 0.8.0 | 150 | 3/16/2026 |
| 0.7.0 | 143 | 3/12/2026 |
| 0.6.0 | 160 | 3/3/2026 |
| 0.5.0-alpha2 | 117 | 2/13/2026 |
| 0.5.0-alpha1 | 103 | 2/12/2026 |
| 0.4.0-alpha2 | 101 | 2/6/2026 |
| 0.4.0-alpha1 | 126 | 2/6/2026 |
| 0.3.0-alpha1 | 113 | 1/16/2026 |
| 0.2.0-alpha3 | 126 | 1/13/2026 |
Loading failed