Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoos committed Apr 27, 2023
2 parents 8d13b13 + 12c90b6 commit 46ab08e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/Intechnity-com/OdooJsonRpcClient/blob/master/LICENSE.md)
[![NuGet package](https://img.shields.io/nuget/v/PortaCapena.OdooJsonRpcClient?color=blue&logo=NuGet&label=NuGet%20Package)](https://www.nuget.org/packages/PortaCapena.OdooJsonRpcClient)
[![Nuget](https://img.shields.io/nuget/dt/PortaCapena.OdooJsonRpcClient?logo=NuGet&label=Downloads)](https://www.nuget.org/packages/PortaCapena.OdooJsonRpcClient)
[![example workflow](https://github.com/Intechnity-com/OdooJsonRpcClient/actions/workflows/pr_build.yml/badge.svg)](https://github.com/Intechnity-com/PortaCapena.OdooJsonRpcClient/actions/workflows/pr_build.yml)
[![example workflow](https://github.com/Intechnity-com/OdooJsonRpcClient/actions/workflows/pr_build.yml/badge.svg)](https://github.com/Intechnity-com/OdooJsonRpcClient/actions/workflows/pr_build.yml)
[![example workflow](https://github.com/Intechnity-com/OdooJsonRpcClient/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Intechnity-com/OdooJsonRpcClient/actions/workflows/codeql-analysis.yml)
![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/patricoos/54596b8c061e5c3c25b3072822a105a0/raw/code-coverage.json)

Expand Down Expand Up @@ -207,6 +207,20 @@ if(condition)
var createResult = await odooRepository.CreateAsync(model);
```

or
```C#
var model2 = new OdooDictionaryModel("res.partner") {
{ "name", "test name" },
{ "country_id", 20 },
{ "city", "test city" },
{ "zip", "12345" },
{ "street", "test address" },
{ "company_type", "company" },
};
var odooClient = new OdooClient(TestConfig);

var createResult = await odooClient.CreateAsync(model2);
```



Expand Down

0 comments on commit 46ab08e

Please sign in to comment.