summaryrefslogtreecommitdiff
path: root/odoo/http.py
diff options
context:
space:
mode:
authorSwapnesh Shah <swapneshshah111@gmail.com>2020-10-15 18:37:53 +0000
committerMartin Trigaux <mat@odoo.com>2020-10-19 05:24:27 +0000
commit7ac08486d91d0ff0151abeeda057ffa6beda72e8 (patch)
tree923d3f4c91c07868e628728a1affdf6a723190aa /odoo/http.py
parentfb7407cba6afe433bad1d7786997b13e34b0a9b7 (diff)
[FIX] *: update document links
Before this commit, links to the documentation were referenced the previous version, 13.0, instead of the current one, 14.0. Eventhough there is a redirection done by NGINX of a "versionless" URL to the latest one (e.g. /documentation/user/general/auth/google.html -> /documentation/user/14.0/general/auth/google.html as of today), the goal is to keep links owrking for users that will still be using the 14.0 in three years (and should not endup on the 17.0 doc). closes odoo/odoo#59554 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'odoo/http.py')
-rw-r--r--odoo/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/http.py b/odoo/http.py
index fc46198eb76..3be82db20af 100644
--- a/odoo/http.py
+++ b/odoo/http.py
@@ -780,7 +780,7 @@ class HttpRequest(WebRequest):
Odoo URLs are CSRF-protected by default (when accessed with unsafe
HTTP methods). See
-https://www.odoo.com/documentation/13.0/reference/http.html#csrf for
+https://www.odoo.com/documentation/14.0/reference/http.html#csrf for
more details.
* if this endpoint is accessed through Odoo via py-QWeb form, embed a CSRF