From a98f98bad940d33883342408e79d9d05acc789e4 Mon Sep 17 00:00:00 2001 From: Pierre Verkest Date: Thu, 28 Aug 2025 21:36:17 +0200 Subject: [PATCH 1/2] Dockerfile: using jammy distro --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d9c6165e..ff396621 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # Base stage, with the non-python runtime dependencies, and uv. # -ARG DISTRO=focal +ARG DISTRO=jammy FROM ghcr.io/acsone/odoo-bedrock:14.0-py39-${DISTRO}-latest AS base # Install apt runtime dependencies. From fd1b4bb9169b07b59b2afd35b1e5da8fea5a4b38 Mon Sep 17 00:00:00 2001 From: Alessandro Uffreduzzi Date: Mon, 15 Sep 2025 10:35:35 +0200 Subject: [PATCH 2/2] [IMP] oca_all: add base_deterministic_session_gc The module makes session garbage collection deterministic To use the module, it needs to be added to the server_wide_modules conf options Another option should also be added to set gc for all sessions older than 3 days ;3 days = 60*60*24*3 seconds session_expiry_delay = 259200 --- oca_all/README.rst | 6 +----- oca_all/__manifest__.py | 1 + oca_all/static/description/index.html | 22 ++++++++-------------- uv.lock | 15 ++++++++++++++- 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/oca_all/README.rst b/oca_all/README.rst index 0df51107..f29086ac 100644 --- a/oca_all/README.rst +++ b/oca_all/README.rst @@ -1,7 +1,3 @@ -.. image:: https://odoo-community.org/readme-banner-image - :target: https://odoo-community.org/get-involved?utm_source=readme - :alt: Odoo Community Association - ======= OCA All ======= @@ -17,7 +13,7 @@ OCA All .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png :target: https://odoo-community.org/page/development-status :alt: Alpha -.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foca--custom-lightgray.png?logo=github diff --git a/oca_all/__manifest__.py b/oca_all/__manifest__.py index 5cc600f8..941d180f 100644 --- a/oca_all/__manifest__.py +++ b/oca_all/__manifest__.py @@ -142,6 +142,7 @@ "account_tax_unece", "apps_download", "apps_product_creator", + "base_deterministic_session_gc", "base_technical_features", "base_ubl", "base_ubl_payment", diff --git a/oca_all/static/description/index.html b/oca_all/static/description/index.html index 94217b61..d2756a80 100644 --- a/oca_all/static/description/index.html +++ b/oca_all/static/description/index.html @@ -3,7 +3,7 @@ -README.rst +OCA All -
+
+

OCA All

- - -Odoo Community Association - -
-

OCA All

-

Alpha License: AGPL-3 OCA/oca-custom Translate me on Weblate Try me on Runboat

+

Alpha License: AGPL-3 OCA/oca-custom Translate me on Weblate Try me on Runboat

OCA’s Odoo instance’s dependencies.

Installing this module will create an instance likes the one used to manage the OCA association.

@@ -396,7 +391,7 @@

OCA All

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. 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 @@ -404,15 +399,15 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association @@ -427,6 +422,5 @@

Maintainers

-
diff --git a/uv.lock b/uv.lock index 3b5e3012..1f43d473 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = "==3.9.*" [options] @@ -578,6 +578,7 @@ dependencies = [ { name = "odoo14-addon-account-tax-unece" }, { name = "odoo14-addon-apps-download" }, { name = "odoo14-addon-apps-product-creator" }, + { name = "odoo14-addon-base-deterministic-session-gc" }, { name = "odoo14-addon-base-technical-features" }, { name = "odoo14-addon-base-ubl" }, { name = "odoo14-addon-base-ubl-payment" }, @@ -698,6 +699,7 @@ requires-dist = [ { name = "odoo14-addon-account-tax-unece" }, { name = "odoo14-addon-apps-download" }, { name = "odoo14-addon-apps-product-creator" }, + { name = "odoo14-addon-base-deterministic-session-gc" }, { name = "odoo14-addon-base-technical-features" }, { name = "odoo14-addon-base-ubl" }, { name = "odoo14-addon-base-ubl-payment" }, @@ -1092,6 +1094,17 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a8/4f/458c23060ca76075f295e277407a1ced7e5aa72d4a4936809aed9f8e3959/odoo14_addon_apps_product_creator-14.0.1.0.1-py3-none-any.whl", hash = "sha256:a88503681c725ade7381c9139db306ece551d23f5373ef61f69ab919fc149679", size = 44170, upload-time = "2025-07-26T10:30:37.621Z" }, ] +[[package]] +name = "odoo14-addon-base-deterministic-session-gc" +version = "14.0.1.0.1.dev5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "odoo" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/b4/938841a438b94c24bc50afdc0125683883e59bfda74e9fcf6724ef42b0eb/odoo14_addon_base_deterministic_session_gc-14.0.1.0.1.dev5-py3-none-any.whl", hash = "sha256:7dcaef361530311869fd2fd8bd28f386c20f9949d94f690f334b545236116a64", size = 28883, upload-time = "2024-12-03T03:32:55.266Z" }, +] + [[package]] name = "odoo14-addon-base-technical-features" version = "14.0.1.1.2.dev5"