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 Oct 3, 2024
1 parent 0a9d445 commit cdfaa31
Show file tree
Hide file tree
Showing 7 changed files with 132 additions and 61 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[fastapi](fastapi/) | 17.0.2.0.0 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Odoo FastAPI endpoint
[fastapi](fastapi/) | 17.0.3.0.0 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Odoo FastAPI endpoint


Unported addons
Expand Down
29 changes: 28 additions & 1 deletion fastapi/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Odoo FastAPI
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d2ae440ec28b3fd00f7d376f77aa07f991b6348b3623cefeb8a3645ced69e963
!! source digest: sha256:c747abb758ff83b0410fa17634e08529195f6d2d94adccfe6b230e955c96285f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -1471,6 +1471,33 @@ WebSockets and to stream large responses.
Changelog
=========

17.0.3.0.0 (2024-10-03)
-----------------------

Features
~~~~~~~~

-

- A new parameter is now available on the endpoint model to let you
disable the creation and the store of session files used by Odoo
for calls to your application endpoint. This is usefull to prevent
disk space consumption and IO operations if your application
doesn't need to use this sessions files which are mainly used by
Odoo by to store the session info of logged in users.
(`#442 <https://github.com/OCA/rest-framework/issues/442>`__)

Bugfixes
~~~~~~~~

- Fix issue with the retry of a POST request with a body content.

Prior to this fix the retry of a POST request with a body content
would stuck in a loop and never complete. This was due to the fact
that the request input stream was not reset after a failed attempt to
process the request.
(`#440 <https://github.com/OCA/rest-framework/issues/440>`__)

17.0.2.0.0 (2024-10-03)
-----------------------

Expand Down
2 changes: 1 addition & 1 deletion fastapi/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Odoo FastAPI",
"summary": """
Odoo FastAPI endpoint""",
"version": "17.0.2.0.0",
"version": "17.0.3.0.0",
"license": "LGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"maintainers": ["lmignon"],
Expand Down
16 changes: 16 additions & 0 deletions fastapi/readme/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 17.0.3.0.0 (2024-10-03)

### Features

- * A new parameter is now available on the endpoint model to let you disable the creation and the store of session files used by Odoo for calls to your application endpoint. This is usefull to prevent disk space consumption and IO operations if your application doesn't need to use this sessions files which are mainly used by Odoo by to store the session info of logged in users. ([#442](https://github.com/OCA/rest-framework/issues/442))

### Bugfixes

- Fix issue with the retry of a POST request with a body content.

Prior to this fix the retry of a POST request with a body content would
stuck in a loop and never complete. This was due to the fact that the
request input stream was not reset after a failed attempt to process the
request. ([#440](https://github.com/OCA/rest-framework/issues/440))


## 17.0.2.0.0 (2024-10-03)

### Bugfixes
Expand Down
6 changes: 0 additions & 6 deletions fastapi/readme/newsfragments/440.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion fastapi/readme/newsfragments/442.feature

This file was deleted.

137 changes: 86 additions & 51 deletions fastapi/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Odoo FastAPI</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d2ae440ec28b3fd00f7d376f77aa07f991b6348b3623cefeb8a3645ced69e963
!! source digest: sha256:c747abb758ff83b0410fa17634e08529195f6d2d94adccfe6b230e955c96285f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/rest-framework/tree/17.0/fastapi"><img alt="OCA/rest-framework" src="https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rest-framework-17-0/rest-framework-17-0-fastapi"><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/rest-framework&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This addon provides the basis to smoothly integrate the
Expand Down Expand Up @@ -437,41 +437,46 @@ <h1 class="title">Odoo FastAPI</h1>
</li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-21">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-22">Changelog</a><ul>
<li><a class="reference internal" href="#section-1" id="toc-entry-23">17.0.2.0.0 (2024-10-03)</a><ul>
<li><a class="reference internal" href="#bugfixes" id="toc-entry-24">Bugfixes</a></li>
<li><a class="reference internal" href="#section-1" id="toc-entry-23">17.0.3.0.0 (2024-10-03)</a><ul>
<li><a class="reference internal" href="#features" id="toc-entry-24">Features</a></li>
<li><a class="reference internal" href="#bugfixes" id="toc-entry-25">Bugfixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#section-2" id="toc-entry-25">17.0.1.0.1 (2024-10-02)</a><ul>
<li><a class="reference internal" href="#bugfixes-1" id="toc-entry-26">Bugfixes</a></li>
<li><a class="reference internal" href="#section-2" id="toc-entry-26">17.0.2.0.0 (2024-10-03)</a><ul>
<li><a class="reference internal" href="#bugfixes-1" id="toc-entry-27">Bugfixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#section-3" id="toc-entry-27">16.0.1.2.5 (2024-01-17)</a><ul>
<li><a class="reference internal" href="#bugfixes-2" id="toc-entry-28">Bugfixes</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-28">17.0.1.0.1 (2024-10-02)</a><ul>
<li><a class="reference internal" href="#bugfixes-2" id="toc-entry-29">Bugfixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#section-4" id="toc-entry-29">16.0.1.2.3 (2023-12-21)</a><ul>
<li><a class="reference internal" href="#bugfixes-3" id="toc-entry-30">Bugfixes</a></li>
<li><a class="reference internal" href="#section-4" id="toc-entry-30">16.0.1.2.5 (2024-01-17)</a><ul>
<li><a class="reference internal" href="#bugfixes-3" id="toc-entry-31">Bugfixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#section-5" id="toc-entry-31">16.0.1.2.2 (2023-12-12)</a><ul>
<li><a class="reference internal" href="#bugfixes-4" id="toc-entry-32">Bugfixes</a></li>
<li><a class="reference internal" href="#section-5" id="toc-entry-32">16.0.1.2.3 (2023-12-21)</a><ul>
<li><a class="reference internal" href="#bugfixes-4" id="toc-entry-33">Bugfixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#section-6" id="toc-entry-33">16.0.1.2.1 (2023-11-03)</a><ul>
<li><a class="reference internal" href="#bugfixes-5" id="toc-entry-34">Bugfixes</a></li>
<li><a class="reference internal" href="#section-6" id="toc-entry-34">16.0.1.2.2 (2023-12-12)</a><ul>
<li><a class="reference internal" href="#bugfixes-5" id="toc-entry-35">Bugfixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#section-7" id="toc-entry-35">16.0.1.2.0 (2023-10-13)</a><ul>
<li><a class="reference internal" href="#features" id="toc-entry-36">Features</a></li>
<li><a class="reference internal" href="#section-7" id="toc-entry-36">16.0.1.2.1 (2023-11-03)</a><ul>
<li><a class="reference internal" href="#bugfixes-6" id="toc-entry-37">Bugfixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#section-8" id="toc-entry-38">16.0.1.2.0 (2023-10-13)</a><ul>
<li><a class="reference internal" href="#features-1" id="toc-entry-39">Features</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-37">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-38">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-39">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-40">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-41">Maintainers</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-40">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-41">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-42">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-43">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-44">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -1759,9 +1764,39 @@ <h1><a class="toc-backref" href="#toc-entry-21">Known issues / Roadmap</a></h1>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#toc-entry-22">Changelog</a></h1>
<div class="section" id="section-1">
<h2><a class="toc-backref" href="#toc-entry-23">17.0.2.0.0 (2024-10-03)</a></h2>
<h2><a class="toc-backref" href="#toc-entry-23">17.0.3.0.0 (2024-10-03)</a></h2>
<div class="section" id="features">
<h3><a class="toc-backref" href="#toc-entry-24">Features</a></h3>
<ul class="simple">
<li><ul class="first">
<li>A new parameter is now available on the endpoint model to let you
disable the creation and the store of session files used by Odoo
for calls to your application endpoint. This is usefull to prevent
disk space consumption and IO operations if your application
doesn’t need to use this sessions files which are mainly used by
Odoo by to store the session info of logged in users.
(<a class="reference external" href="https://github.com/OCA/rest-framework/issues/442">#442</a>)</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="bugfixes">
<h3><a class="toc-backref" href="#toc-entry-24">Bugfixes</a></h3>
<h3><a class="toc-backref" href="#toc-entry-25">Bugfixes</a></h3>
<ul>
<li><p class="first">Fix issue with the retry of a POST request with a body content.</p>
<p>Prior to this fix the retry of a POST request with a body content
would stuck in a loop and never complete. This was due to the fact
that the request input stream was not reset after a failed attempt to
process the request.
(<a class="reference external" href="https://github.com/OCA/rest-framework/issues/440">#440</a>)</p>
</li>
</ul>
</div>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-26">17.0.2.0.0 (2024-10-03)</a></h2>
<div class="section" id="bugfixes-1">
<h3><a class="toc-backref" href="#toc-entry-27">Bugfixes</a></h3>
<ul>
<li><p class="first">This change is a complete rewrite of the way the transactions are
managed when integrating a fastapi application into Odoo.</p>
Expand Down Expand Up @@ -1795,10 +1830,10 @@ <h3><a class="toc-backref" href="#toc-entry-24">Bugfixes</a></h3>
</ul>
</div>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-25">17.0.1.0.1 (2024-10-02)</a></h2>
<div class="section" id="bugfixes-1">
<h3><a class="toc-backref" href="#toc-entry-26">Bugfixes</a></h3>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-28">17.0.1.0.1 (2024-10-02)</a></h2>
<div class="section" id="bugfixes-2">
<h3><a class="toc-backref" href="#toc-entry-29">Bugfixes</a></h3>
<ul>
<li><p class="first">Fix compatibility issues with the latest Odoo version</p>
<p>From
Expand All @@ -1812,10 +1847,10 @@ <h3><a class="toc-backref" href="#toc-entry-26">Bugfixes</a></h3>
</ul>
</div>
</div>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-27">16.0.1.2.5 (2024-01-17)</a></h2>
<div class="section" id="bugfixes-2">
<h3><a class="toc-backref" href="#toc-entry-28">Bugfixes</a></h3>
<div class="section" id="section-4">
<h2><a class="toc-backref" href="#toc-entry-30">16.0.1.2.5 (2024-01-17)</a></h2>
<div class="section" id="bugfixes-3">
<h3><a class="toc-backref" href="#toc-entry-31">Bugfixes</a></h3>
<ul>
<li><p class="first">Odoo has done an update and now, it checks domains of ir.rule on
creation and modification.</p>
Expand All @@ -1828,10 +1863,10 @@ <h3><a class="toc-backref" href="#toc-entry-28">Bugfixes</a></h3>
</ul>
</div>
</div>
<div class="section" id="section-4">
<h2><a class="toc-backref" href="#toc-entry-29">16.0.1.2.3 (2023-12-21)</a></h2>
<div class="section" id="bugfixes-3">
<h3><a class="toc-backref" href="#toc-entry-30">Bugfixes</a></h3>
<div class="section" id="section-5">
<h2><a class="toc-backref" href="#toc-entry-32">16.0.1.2.3 (2023-12-21)</a></h2>
<div class="section" id="bugfixes-4">
<h3><a class="toc-backref" href="#toc-entry-33">Bugfixes</a></h3>
<ul>
<li><p class="first">In case of exception in endpoint execution, close the database cursor
after rollback.</p>
Expand All @@ -1842,10 +1877,10 @@ <h3><a class="toc-backref" href="#toc-entry-30">Bugfixes</a></h3>
</ul>
</div>
</div>
<div class="section" id="section-5">
<h2><a class="toc-backref" href="#toc-entry-31">16.0.1.2.2 (2023-12-12)</a></h2>
<div class="section" id="bugfixes-4">
<h3><a class="toc-backref" href="#toc-entry-32">Bugfixes</a></h3>
<div class="section" id="section-6">
<h2><a class="toc-backref" href="#toc-entry-34">16.0.1.2.2 (2023-12-12)</a></h2>
<div class="section" id="bugfixes-5">
<h3><a class="toc-backref" href="#toc-entry-35">Bugfixes</a></h3>
<ul class="simple">
<li>When using the ‘FastAPITransactionCase’ class, allows to specify a
specific override of the ‘authenticated_partner_impl’ method into the
Expand All @@ -1861,10 +1896,10 @@ <h3><a class="toc-backref" href="#toc-entry-32">Bugfixes</a></h3>
</ul>
</div>
</div>
<div class="section" id="section-6">
<h2><a class="toc-backref" href="#toc-entry-33">16.0.1.2.1 (2023-11-03)</a></h2>
<div class="section" id="bugfixes-5">
<h3><a class="toc-backref" href="#toc-entry-34">Bugfixes</a></h3>
<div class="section" id="section-7">
<h2><a class="toc-backref" href="#toc-entry-36">16.0.1.2.1 (2023-11-03)</a></h2>
<div class="section" id="bugfixes-6">
<h3><a class="toc-backref" href="#toc-entry-37">Bugfixes</a></h3>
<ul>
<li><p class="first">Fix a typo in the Field declaration of the ‘count’ attribute of the
‘PagedCollection’ schema.</p>
Expand All @@ -1875,10 +1910,10 @@ <h3><a class="toc-backref" href="#toc-entry-34">Bugfixes</a></h3>
</ul>
</div>
</div>
<div class="section" id="section-7">
<h2><a class="toc-backref" href="#toc-entry-35">16.0.1.2.0 (2023-10-13)</a></h2>
<div class="section" id="features">
<h3><a class="toc-backref" href="#toc-entry-36">Features</a></h3>
<div class="section" id="section-8">
<h2><a class="toc-backref" href="#toc-entry-38">16.0.1.2.0 (2023-10-13)</a></h2>
<div class="section" id="features-1">
<h3><a class="toc-backref" href="#toc-entry-39">Features</a></h3>
<ul class="simple">
<li>The field <em>total</em> in the <em>PagedCollection</em> schema is replaced by the
field <em>count</em>. The field <em>total</em> is now deprecated and will be
Expand All @@ -1894,29 +1929,29 @@ <h3><a class="toc-backref" href="#toc-entry-36">Features</a></h3>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-37">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-40">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rest-framework/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/rest-framework/issues/new?body=module:%20fastapi%0Aversion:%2017.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-38">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-41">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-39">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-42">Authors</a></h2>
<ul class="simple">
<li>ACSONE SA/NV</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-40">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-43">Contributors</a></h2>
<ul class="simple">
<li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-41">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-44">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" />
Expand Down

0 comments on commit cdfaa31

Please sign in to comment.