diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-10-15 18:37:53 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-10-19 05:24:27 +0000 |
| commit | 7ac08486d91d0ff0151abeeda057ffa6beda72e8 (patch) | |
| tree | 923d3f4c91c07868e628728a1affdf6a723190aa /odoo | |
| parent | fb7407cba6afe433bad1d7786997b13e34b0a9b7 (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')
| -rw-r--r-- | odoo/addons/base/models/res_users.py | 2 | ||||
| -rw-r--r-- | odoo/cli/templates/default/__manifest__.py.template | 2 | ||||
| -rw-r--r-- | odoo/http.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/odoo/addons/base/models/res_users.py b/odoo/addons/base/models/res_users.py index 7bbef051e84..a3baf47c615 100644 --- a/odoo/addons/base/models/res_users.py +++ b/odoo/addons/base/models/res_users.py @@ -948,7 +948,7 @@ class Users(models.Model): "and *might* be a proxy. If your Odoo is behind a proxy, " "it may be mis-configured. Check that you are running " "Odoo in Proxy Mode and that the proxy is properly configured, see " - "https://www.odoo.com/documentation/13.0/setup/deploy.html#https for details.", + "https://www.odoo.com/documentation/14.0/setup/deploy.html#https for details.", source ) raise AccessDenied(_("Too many login failures, please wait a bit before trying again.")) diff --git a/odoo/cli/templates/default/__manifest__.py.template b/odoo/cli/templates/default/__manifest__.py.template index 4ec9ab0ed33..c3881f321a0 100644 --- a/odoo/cli/templates/default/__manifest__.py.template +++ b/odoo/cli/templates/default/__manifest__.py.template @@ -14,7 +14,7 @@ 'website': "http://www.yourcompany.com", # Categories can be used to filter modules in modules listing - # Check https://github.com/odoo/odoo/blob/13.0/odoo/addons/base/data/ir_module_category_data.xml + # Check https://github.com/odoo/odoo/blob/14.0/odoo/addons/base/data/ir_module_category_data.xml # for the full list 'category': 'Uncategorized', 'version': '0.1', 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 |
