From 7de062c875d81b9a23ea617978418984a68c7678 Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (ACSONE)" Date: Thu, 20 Mar 2025 09:26:16 +0100 Subject: [PATCH] [IMP] base_rest: Remove deprecation warning from the logs --- base_rest/__init__.py | 7 ------- checklog-odoo.cfg | 3 +++ 2 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 checklog-odoo.cfg diff --git a/base_rest/__init__.py b/base_rest/__init__.py index 5947223b8..431f67abd 100644 --- a/base_rest/__init__.py +++ b/base_rest/__init__.py @@ -1,10 +1,3 @@ -import logging from . import models from . import components from . import http - -logging.getLogger(__file__).warning( - "base_rest is deprecated and not fully supported anymore on Odoo 16. " - "Please migrate to the FastAPI migration module. " - "See https://github.com/OCA/rest-framework/pull/291.", -) diff --git a/checklog-odoo.cfg b/checklog-odoo.cfg new file mode 100644 index 000000000..0b55b7bf6 --- /dev/null +++ b/checklog-odoo.cfg @@ -0,0 +1,3 @@ +[checklog-odoo] +ignore= + WARNING.* 0 failed, 0 error\(s\).*