Skip to content

Release 1.0.21

Latest

Choose a tag to compare

@patricoos patricoos released this 05 Nov 07:53
  • Odoo 19+ JSON-2 API support. Pass OdooApiProtocol.JsonApi to OdooConfig and use an API key as the password. Everything else works the same. JSON-RPC is still the default, but Odoo plans to remove it in Odoo 22.
  • Batch create: CreateAsync accepts a collection of models or dictionaries and returns long[] ids.
  • Custom model actions: ActionAsync and ActionCollectionAsync.
  • OdooClient.GetAsync(tableName, ...) returns records as OdooDictionaryModel[], so you don't need a typed model.
  • New OdooClient methods: SearchIdsAsync, ReadAsync, ReadGroupAsync, NameSearchAsync, NameCreateAsync, CopyAsync, DefaultGetAsync, GetMetadataAsync, CheckAccessRightsAsync, GetDatabasesAsync, GetVersionAsync and the generic CallMethodAsync.
  • OdooCommand helper for x2many write commands (Create, Update, Delete, Unlink, Link, Clear, Set).
  • CancellationToken support across async methods, and an OdooClient constructor that accepts your own HttpClient.
  • The NuGet package now includes XML documentation, so you get IntelliSense summaries.