diff --git a/base_rest/__init__.py b/base_rest/__init__.py index d82e618a8..5947223b8 100644 --- a/base_rest/__init__.py +++ b/base_rest/__init__.py @@ -2,3 +2,9 @@ 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/base_rest/__manifest__.py b/base_rest/__manifest__.py index e612d7961..f29fe6ef1 100644 --- a/base_rest/__manifest__.py +++ b/base_rest/__manifest__.py @@ -10,7 +10,7 @@ "development_status": "Beta", "license": "LGPL-3", "author": "ACSONE SA/NV, " "Odoo Community Association (OCA)", - "maintainers": ["lmignon"], + "maintainers": [], "website": "https://github.com/OCA/rest-framework", "depends": ["component", "web"], "data": [ diff --git a/base_rest/readme/DESCRIPTION.rst b/base_rest/readme/DESCRIPTION.rst index 96f88c974..28c8759fb 100644 --- a/base_rest/readme/DESCRIPTION.rst +++ b/base_rest/readme/DESCRIPTION.rst @@ -1,3 +1,7 @@ +This addon 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. + This addon provides the basis to develop high level REST APIs for Odoo. As Odoo becomes one of the central pieces of enterprise IT systems, it often