变更日志

Odoo 版本 16.0

  • 翻译字段的翻译存储为 JSONB 值,使用 #97692#101115。代码翻译不再存储在数据库中。它们变得静态,并在需要时从 PO 文件中提取。

  • search_count() takes the limit argument into account with #95589. It limits the number of records to count, improving performance when a partial result is acceptable.

Odoo 在线版本 15.4

  • 使用 #87527 的新API来刷新数据库和使缓存失效。已经在 odoo.models.Modelodoo.api.Environment 中添加了新的方法,并且在每种情况下更加清晰明了。请参阅 SQL Execution 部分。

Odoo Online version 15.3

Odoo 在线版本 15.2

  • 字段上的特定索引类型:通过 #83274#83015,开发人员现在可以定义PostgreSQL在字段上可以使用的索引类型。请参阅 odoo.fields.Fieldindex 属性

  • The _sequence attribute of Model is removed. Odoo lets PostgreSQL use the default sequence of the primary key. #82727

  • The method _write() does not raise an error for non-existing records. #82727

  • The column_format and deprecated attributes of Field are removed. #82727