Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Dec 15, 2023
1 parent bd57539 commit a9066f9
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 40 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[connector_elasticsearch](connector_elasticsearch/) | 16.0.0.0.3 | | Connector For Elasticsearch Search Engine
[connector_search_engine](connector_search_engine/) | 16.0.0.1.6 | | Connector Search Engine
[connector_search_engine](connector_search_engine/) | 16.0.0.1.7 | | Connector Search Engine
[connector_search_engine_serializer_ir_export](connector_search_engine_serializer_ir_export/) | 16.0.1.0.2 | | Use Exporter (ir.exports) as serializer for index
[search_engine_image_thumbnail](search_engine_image_thumbnail/) | 16.0.1.0.3 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Generate thumbnails for binded record
[search_engine_serializer_pydantic](search_engine_serializer_pydantic/) | 16.0.1.0.0 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Defines base class for pydantic baser serializer
Expand Down
21 changes: 20 additions & 1 deletion connector_search_engine/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Connector Search Engine
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:bc20167daf51d9976d3ef6d5d1fd82264bfabd8399525e86f526406d4021337d
!! source digest: sha256:f9e1733b99407edf5def7c9685b654428d99925d3c9ee8c71aa65719f1cec5d0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -168,6 +168,25 @@ Known issues / Roadmap
Changelog
=========

16.0.0.1.7 (2023-12-15)
~~~~~~~~~~~~~~~~~~~~~~~

**Bugfixes**

- Ensure that the record's model is compatible with the index's model before
adding a new record to the index.

Before this change, the index would silently ignore records that were not
compatible with the index's model. This could lead to unexpected behavior and
errors when the record was later used to be serialized to JSON and exported to
a search engine. (`#177 <https://github.com/OCA/search-engine/issues/177>`_)
- Lower memory consumption by disabling prefetch for the field 'data' on the binding model.

The field 'data' is a json field that is not used in the view or common management
operations of the binding model. This json field can be very large. By disabling
the prefetch, we avoid to overload the database and Odoo with useless data. (`#179 <https://github.com/OCA/search-engine/issues/179>`_)


16.0.0.1.4 (2023-11-29)
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion connector_search_engine/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Connector Search Engine",
"version": "16.0.0.1.6",
"version": "16.0.0.1.7",
"author": "Akretion,"
"ACSONE SA/NV,"
"Camptocamp,"
Expand Down
19 changes: 19 additions & 0 deletions connector_search_engine/readme/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
16.0.0.1.7 (2023-12-15)
~~~~~~~~~~~~~~~~~~~~~~~

**Bugfixes**

- Ensure that the record's model is compatible with the index's model before
adding a new record to the index.

Before this change, the index would silently ignore records that were not
compatible with the index's model. This could lead to unexpected behavior and
errors when the record was later used to be serialized to JSON and exported to
a search engine. (`#177 <https://github.com/OCA/search-engine/issues/177>`_)
- Lower memory consumption by disabling prefetch for the field 'data' on the binding model.

The field 'data' is a json field that is not used in the view or common management
operations of the binding model. This json field can be very large. By disabling
the prefetch, we avoid to overload the database and Odoo with useless data. (`#179 <https://github.com/OCA/search-engine/issues/179>`_)


16.0.0.1.4 (2023-11-29)
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
7 changes: 0 additions & 7 deletions connector_search_engine/readme/newsfragments/177.bugfix

This file was deleted.

5 changes: 0 additions & 5 deletions connector_search_engine/readme/newsfragments/179.bugfix

This file was deleted.

68 changes: 43 additions & 25 deletions connector_search_engine/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Connector Search Engine</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:bc20167daf51d9976d3ef6d5d1fd82264bfabd8399525e86f526406d4021337d
!! source digest: sha256:f9e1733b99407edf5def7c9685b654428d99925d3c9ee8c71aa65719f1cec5d0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/search-engine/tree/16.0/connector_search_engine"><img alt="OCA/search-engine" src="https://img.shields.io/badge/github-OCA%2Fsearch--engine-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/search-engine-16-0/search-engine-16-0-connector_search_engine"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/search-engine&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Base module for connecting Odoo with external search engines. This addon is
Expand All @@ -384,18 +383,19 @@ <h1 class="title">Connector Search Engine</h1>
</li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-5">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-6">Changelog</a><ul>
<li><a class="reference internal" href="#section-1" id="toc-entry-7">16.0.0.1.4 (2023-11-29)</a></li>
<li><a class="reference internal" href="#section-2" id="toc-entry-8">16.0.0.1.2 (2023-11-28)</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-9">16.0.0.1.1 (2023-10-13)</a></li>
<li><a class="reference internal" href="#section-4" id="toc-entry-10">16.0.0.1.0 (2023-10-13)</a></li>
<li><a class="reference internal" href="#x-y-z-yyyy-mm-dd" id="toc-entry-11">12.0.x.y.z (YYYY-MM-DD)</a></li>
<li><a class="reference internal" href="#section-1" id="toc-entry-7">16.0.0.1.7 (2023-12-15)</a></li>
<li><a class="reference internal" href="#section-2" id="toc-entry-8">16.0.0.1.4 (2023-11-29)</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-9">16.0.0.1.2 (2023-11-28)</a></li>
<li><a class="reference internal" href="#section-4" id="toc-entry-10">16.0.0.1.1 (2023-10-13)</a></li>
<li><a class="reference internal" href="#section-5" id="toc-entry-11">16.0.0.1.0 (2023-10-13)</a></li>
<li><a class="reference internal" href="#x-y-z-yyyy-mm-dd" id="toc-entry-12">12.0.x.y.z (YYYY-MM-DD)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-12">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-13">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-14">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-15">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-16">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-13">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-14">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-15">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-16">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-17">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -529,7 +529,25 @@ <h1><a class="toc-backref" href="#toc-entry-5">Known issues / Roadmap</a></h1>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#toc-entry-6">Changelog</a></h1>
<div class="section" id="section-1">
<h2><a class="toc-backref" href="#toc-entry-7">16.0.0.1.4 (2023-11-29)</a></h2>
<h2><a class="toc-backref" href="#toc-entry-7">16.0.0.1.7 (2023-12-15)</a></h2>
<p><strong>Bugfixes</strong></p>
<ul>
<li><p class="first">Ensure that the record’s model is compatible with the index’s model before
adding a new record to the index.</p>
<p>Before this change, the index would silently ignore records that were not
compatible with the index’s model. This could lead to unexpected behavior and
errors when the record was later used to be serialized to JSON and exported to
a search engine. (<a class="reference external" href="https://github.com/OCA/search-engine/issues/177">#177</a>)</p>
</li>
<li><p class="first">Lower memory consumption by disabling prefetch for the field ‘data’ on the binding model.</p>
<p>The field ‘data’ is a json field that is not used in the view or common management
operations of the binding model. This json field can be very large. By disabling
the prefetch, we avoid to overload the database and Odoo with useless data. (<a class="reference external" href="https://github.com/OCA/search-engine/issues/179">#179</a>)</p>
</li>
</ul>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-8">16.0.0.1.4 (2023-11-29)</a></h2>
<p><strong>Bugfixes</strong></p>
<ul>
<li><p class="first">Fix error when calling the methods <em>export_record</em> or <em>delete_record</em> from
Expand All @@ -542,8 +560,8 @@ <h2><a class="toc-backref" href="#toc-entry-7">16.0.0.1.4 (2023-11-29)</a></h2>
</li>
</ul>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-8">16.0.0.1.2 (2023-11-28)</a></h2>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-9">16.0.0.1.2 (2023-11-28)</a></h2>
<p><strong>Bugfixes</strong></p>
<ul>
<li><p class="first">Add missing description on the “se.binding.state.updater” model. As well as
Expand All @@ -553,8 +571,8 @@ <h2><a class="toc-backref" href="#toc-entry-8">16.0.0.1.2 (2023-11-28)</a></h2>
</li>
</ul>
</div>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-9">16.0.0.1.1 (2023-10-13)</a></h2>
<div class="section" id="section-4">
<h2><a class="toc-backref" href="#toc-entry-10">16.0.0.1.1 (2023-10-13)</a></h2>
<p><strong>Bugfixes</strong></p>
<ul class="simple">
<li>Fixes cache issue with the <em>se_binding_ids</em> field on the <em>s.indexable.record</em>
Expand All @@ -564,8 +582,8 @@ <h2><a class="toc-backref" href="#toc-entry-9">16.0.0.1.1 (2023-10-13)</a></h2>
recomputed to reflect the change. (<a class="reference external" href="https://github.com/OCA/search-engine/issues/163">#163</a>)</li>
</ul>
</div>
<div class="section" id="section-4">
<h2><a class="toc-backref" href="#toc-entry-10">16.0.0.1.0 (2023-10-13)</a></h2>
<div class="section" id="section-5">
<h2><a class="toc-backref" href="#toc-entry-11">16.0.0.1.0 (2023-10-13)</a></h2>
<p><strong>Features</strong></p>
<ul>
<li><p class="first">A new action <strong>Update state</strong> is now available on <em>Search Engine Record</em> objects.
Expand All @@ -583,30 +601,30 @@ <h2><a class="toc-backref" href="#toc-entry-10">16.0.0.1.0 (2023-10-13)</a></h2>
</ul>
</div>
<div class="section" id="x-y-z-yyyy-mm-dd">
<h2><a class="toc-backref" href="#toc-entry-11">12.0.x.y.z (YYYY-MM-DD)</a></h2>
<h2><a class="toc-backref" href="#toc-entry-12">12.0.x.y.z (YYYY-MM-DD)</a></h2>
<p>TODO</p>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-12">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-13">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/search-engine/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/search-engine/issues/new?body=module:%20connector_search_engine%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-13">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-14">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-14">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-15">Authors</a></h2>
<ul class="simple">
<li>Akretion</li>
<li>ACSONE SA/NV</li>
<li>Camptocamp</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-15">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-16">Contributors</a></h2>
<ul class="simple">
<li>Sébastien BEAU &lt;<a class="reference external" href="mailto:sebastien.beau&#64;akretion.com">sebastien.beau&#64;akretion.com</a>&gt;</li>
<li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li>
Expand All @@ -615,7 +633,7 @@ <h2><a class="toc-backref" href="#toc-entry-15">Contributors</a></h2>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-16">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-17">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
Expand Down

0 comments on commit a9066f9

Please sign in to comment.