更新履歴

Odoo version 18.0

  • 他のフィールドと同様に、名前で検索が`_search_display_name`として実装されました。#174967 を参照してください。

  • アクセス権とルールをチェックする新しいメソッドが、アクセス権とルールの両方を組み合わせるようになりました: check_accesshas_access_filtered_access#179148 を参照してください。

  • 翻訳は #174844Environment から入手できます。

Odoo Online Version 17.4

  • 内部演算子`inselect`が削除されました。代わりに、クエリまたはSQLオブジェクトで`in`を使用します。#171371

Odoo Online Version 17.3

  • read_group_read_group などの日付パーツ番号、#159528 などの日付パーツ番号でグループ分けできるようになりました。

Odoo Online Version 17.2

  • The group_operator attribute of Field is renamed into aggregator with #127353.

  • 関連するno-store フィールドで #127353 でグループ/集計/順序ができるようになりました。

Odoo Online Version 17.1

  • Method _flush_search() has been deprecated with #144747. The flushing of fields is now done by execute_query(), and is based on metadata put in the SQL object by _search() and other low-level ORM methods that build such objects. Those methods are also responsible for checking the access rights on the fields that are used in the SQL object.

Odoo version 17.0

  • Introduce an SQL wrapper object to make SQL composition easier and safer with respect to SQL injections. Methods of the ORM now use it internally. Introduced by #134677.

Odoo Online version 16.4

  • メソッド name_get()#122085 で非推奨となりました。代わりに display_name を読み込みます。

Odoo Online version 16.3

  • メソッド _read_group()#110737 の新しい署名を持っています。

Odoo Online version 16.2

  • Refactor the implementation of searching and reading methods to be able to combine both in a minimal number of SQL queries. We introduce two new methods search_fetch() and fetch() that take advantage of the combination. More details can be found on the pull request #112126.

Odoo version 16.0

  • 翻訳されたフィールドの翻訳は #97692#101115 でJSONB 値として保存されます。 コード翻訳はデータベースに保存されなくなり、静的になり、必要に応じてPO ファイルから抽出されます。

  • search_count()limit 引数を #95589 として取ります。 これは、カウントにレコードの数を制限し、部分的な結果が許容されるときのパフォーマンスを向上させます。

Odoo Online Version 15.4

  • New API for flushing to the database and invalidating the cache with #87527. New methods have been added to odoo.models.Model and odoo.api.Environment, and are less confusing about what is actually done in each case. See the section SQL Execution.

Odoo Online Version 15.3

  • 引数 argssearch()domain にリネームされ、 search_count()_search() にリネームされます。#83687

  • filtered_domain() は現在のレコードセットの順序を保持します。#83687

  • browse()strids として受け付けません。 #83687

  • The methods fields_get_keys() and get_xml_id() on Model are deprecated. #83687

  • _mapped_cache() メソッドが削除されました。 #83687

  • One2manyMany2manylimit 属性を削除します。 #83687

Odoo Online Version 15.2

  • Specific index types on fields: With #83274 and #83015, developers can now define what type of indexes can be used on fields by PostgreSQL. See the index property of odoo.fields.Field.

  • _sequence 属性の Model が削除されました。OdooはPostgreSQLでプライマリキーのデフォルトシーケンスを使用できます。 #82727

  • メソッド _write() は存在しないレコードに対してエラーを発生させません。 #82727

  • column_formatdeprecated 属性 Field は削除されます。 #82727