Changelog¶
Odoo version 16.0¶
- Translations for translated fields are stored as JSONB values with #97692 and #101115. Code translations are no longer stored into the database. They become static and are extracted from the PO files when needed. 
- search_count()takes the- limitargument into account with #95589. It limits the number of records to count, improving performance when a partial result is acceptable.
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.Modeland- 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¶
- The argument - argsis renamed to- domainfor- search(),- search_count()and- _search(). #83687
- filtered_domain()conserves the order of the current recordset. #83687
- The methods - fields_get_keys()and- get_xml_id()on- Modelare deprecated. #83687
- The method - _mapped_cache()is removed. #83687
- Remove the - limitattribute of- One2manyand- Many2many. #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.
- The - _sequenceattribute of- Modelis 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_formatand- deprecatedattributes of- Fieldare removed. #82727