更新履歴¶
Odoo version 18.0¶
Odoo Online Version 17.4¶
内部演算子`inselect`が削除されました。代わりに、クエリまたはSQLオブジェクトで`in`を使用します。#171371
Odoo Online Version 17.3¶
read_group
や_read_group
などの日付パーツ番号、#159528 などの日付パーツ番号でグループ分けできるようになりました。
Odoo Online Version 17.2¶
Odoo Online Version 17.1¶
Method
_flush_search()
has been deprecated with #144747. The flushing of fields is now done byexecute_query()
, and is based on metadata put in theSQL
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()
andfetch()
that take advantage of the combination. More details can be found on the pull request #112126.
Odoo version 16.0¶
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
andodoo.api.Environment
, and are less confusing about what is actually done in each case. See the section SQL Execution.
Odoo Online Version 15.3¶
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()
は存在しないレコードに対してエラーを発生させません。 #82727column_format
とdeprecated
属性Field
は削除されます。 #82727