From bb079372e3e3ff15cb1eaab6a3f1c9e9bb77c706 Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Thu, 5 Feb 2026 13:04:43 +0000 Subject: [PATCH] [FIX] tutorials/importable_modules: fix typo in `request.not_found()` closes odoo/documentation#16302 X-original-commit: d6686782616fe86e73c1d446d06720b111d0b6cf Signed-off-by: Antoine Vandevenne (anv) --- content/developer/tutorials/importable_modules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/developer/tutorials/importable_modules.rst b/content/developer/tutorials/importable_modules.rst index 29be9d0530..9192b8b3b9 100644 --- a/content/developer/tutorials/importable_modules.rst +++ b/content/developer/tutorials/importable_modules.rst @@ -863,7 +863,7 @@ response object: - `request.redirect(location, code=303, local=True)` to redirect to a different URL; the `local` argument is used to specify whether the redirection should be relative to the website or not (default: `True`). -- `request.notfound()` to return a `werkzeug.HTTPException` exception to signal a 404 error to +- `request.not_found()` to return a `werkzeug.HTTPException` exception to signal a 404 error to the website. - `request.make_response(data, headers=None, cookies=None, status=200)` to manually create a `werkzeug.Response` object; the `status` argument is the HTTP status code to return (default: