diff --git a/addons/auth_oauth/views/res_config_settings_views.xml b/addons/auth_oauth/views/res_config_settings_views.xml index b70574be8cabff02628775d77bab6b9f9b217c88..88f33a651996c2f555bf650be23f2c44fea20b32 100644 --- a/addons/auth_oauth/views/res_config_settings_views.xml +++ b/addons/auth_oauth/views/res_config_settings_views.xml @@ -27,7 +27,7 @@ <label for="auth_oauth_google_client_id" string="Client ID:" class="col-lg-3 o_light_label"/> <field name="auth_oauth_google_client_id" placeholder="e.g. 1234-xyz.apps.googleusercontent.com"/> </div> - <a href="https://www.odoo.com/documentation/user/online/general/auth/google.html" target="_blank"><i class="fa fa-fw fa-arrow-right"/>Tutorial</a> + <a href="https://www.odoo.com/documentation/12.0/applications/general/auth/google.html" target="_blank"><i class="fa fa-fw fa-arrow-right"/>Tutorial</a> </div> </div> </div> diff --git a/addons/base_import/static/src/xml/base_import.xml b/addons/base_import/static/src/xml/base_import.xml index 3d4b9634f8f782e2bb27da279c7e6fdd1118682b..f54398eea07ce59a7e09f37be8a0c94d4a151d70 100644 --- a/addons/base_import/static/src/xml/base_import.xml +++ b/addons/base_import/static/src/xml/base_import.xml @@ -88,7 +88,7 @@ <i class="fa fa-download"/> <span><t t-esc="template.label"/></span> </a> </div> - <a href="https://www.odoo.com/documentation/user/12.0/general/base_import/import_faq.html" target="new">Import FAQ</a> + <a href="https://www.odoo.com/documentation/12.0/applications/general/base_import/import_faq.html" target="new">Import FAQ</a> </div> </div> </form> diff --git a/addons/google_calendar/views/res_config_settings_views.xml b/addons/google_calendar/views/res_config_settings_views.xml index 5028978dd4ce1c151c4064881fbbc8611e102078..de3b6ba01872054a551d9b71a39a48891d204e60 100644 --- a/addons/google_calendar/views/res_config_settings_views.xml +++ b/addons/google_calendar/views/res_config_settings_views.xml @@ -13,7 +13,7 @@ <label for="cal_client_secret" string="Client Secret" class="col-3 col-lg-3 o_light_label"/> <field name="cal_client_secret" password="True" nolabel="1"/> </div> - <a href="https://www.odoo.com/documentation/user/12.0/crm/optimize/google_calendar_credentials.html" class="oe-link" target="_blank"><i class="fa fa-fw fa-arrow-right"/>Tutorial</a> + <a href="https://www.odoo.com/documentation/12.0/applications/sales/crm/optimize/google_calendar_credentials.html" class="oe-link" target="_blank"><i class="fa fa-fw fa-arrow-right"/>Tutorial</a> </div> </div> </field> diff --git a/addons/hw_posbox_homepage/views/layout.html b/addons/hw_posbox_homepage/views/layout.html index 342c1f08334e8705cb4f6ad5a852238adc277355..f47ecfd55afff2cbf1f0548633ddb9c872b47b61 100644 --- a/addons/hw_posbox_homepage/views/layout.html +++ b/addons/hw_posbox_homepage/views/layout.html @@ -137,7 +137,7 @@ </div> <div class="footer"> <a href='https://www.odoo.com/help'>Help</a> - <a href='https://www.odoo.com/documentation/user/13.0/iot.html'>Documentation</a> + <a href='https://www.odoo.com/documentation/12.0/applications/productivity/iot.html'>Documentation</a> </div> </body> </html> diff --git a/addons/hw_posbox_homepage/views/upgrade_page.html b/addons/hw_posbox_homepage/views/upgrade_page.html index 0c87fc62d783a29779cc8929544e717affee87e3..b256f5b61ef4a7d6f9c278bb912777b21f885fd6 100644 --- a/addons/hw_posbox_homepage/views/upgrade_page.html +++ b/addons/hw_posbox_homepage/views/upgrade_page.html @@ -73,7 +73,7 @@ However the preferred method to upgrade the IoTBox is to flash the sd-card with the <a href='http://nightly.odoo.com/master/posbox/iotbox/iotbox-latest.zip'>latest image</a>. The upgrade procedure is explained into to the - <a href='https://www.odoo.com/documentation/user/13.0/iot.html'>IoTBox manual</a> + <a href='https://www.odoo.com/documentation/12.0/applications/productivity/iot.html'>IoTBox manual</a> </p> <p> To upgrade the IoTBox, click on the upgrade button. The upgrade will take a few minutes. <b>Do not reboot</b> the IoTBox during the upgrade. diff --git a/addons/payment_authorize/views/payment_views.xml b/addons/payment_authorize/views/payment_views.xml index b60385ed9f06cf93dc22afb49e9e934a6ac7444e..0a4bdd162b7ca4c6fbc16b2ff2c709e5d27ef624 100644 --- a/addons/payment_authorize/views/payment_views.xml +++ b/addons/payment_authorize/views/payment_views.xml @@ -10,7 +10,7 @@ <field name="authorize_login"/> <field name="authorize_transaction_key" password="True"/> <field name="authorize_signature_key" password="True"/> - <a colspan="2" href="https://www.odoo.com/documentation/user/online/ecommerce/shopper_experience/authorize.html" target="_blank">How to get paid with Authorize.Net</a> + <a colspan="2" href="https://www.odoo.com/documentation/13.0/applications/general/payment_acquirers/authorize.html" target="_blank">How to get paid with Authorize.Net</a> </group> </xpath> </field> diff --git a/addons/payment_paypal/views/payment_views.xml b/addons/payment_paypal/views/payment_views.xml index a1c4672f75532259a7f645fb9bb0338599b7fb96..852fc96896499dcad5cf1b34da4e3e89d946f416 100644 --- a/addons/payment_paypal/views/payment_views.xml +++ b/addons/payment_paypal/views/payment_views.xml @@ -16,7 +16,7 @@ <field name="paypal_api_enabled" invisible="1"/> <field name="paypal_api_username" invisible="1"/> <field name="paypal_api_password" invisible="1"/> - <a colspan="2" href="https://www.odoo.com/documentation/user/online/ecommerce/shopper_experience/paypal.html" target="_blank">How to configure your paypal account?</a> + <a colspan="2" href="https://www.odoo.com/documentation/13.0/applications/general/payment_acquirers/paypal.html" target="_blank">How to configure your paypal account?</a> </group> </xpath> </field> diff --git a/addons/point_of_sale/views/pos_config_view.xml b/addons/point_of_sale/views/pos_config_view.xml index fde48ebc2f545022e8e70efa24fae72027986063..50a1c7302c31fddc574f53fa9140c39a402305a0 100644 --- a/addons/point_of_sale/views/pos_config_view.xml +++ b/addons/point_of_sale/views/pos_config_view.xml @@ -221,7 +221,10 @@ <div class="mt16"> <field name="iface_tax_included" class="o_light_label" widget="radio"/> </div> - <a attrs="{'invisible': [('iface_tax_included', '!=', 'total')]}" href="https://www.odoo.com/documentation/user/12.0/accounting/others/taxes/tax_included.html" target="_blank" class="oe-link"><i class="fa fa-fw fa-arrow-right"/>How to manage tax-included prices</a> + <a attrs="{'invisible': [('iface_tax_included', '!=', 'total')]}" + href="https://www.odoo.com/documentation/12.0/applications/finance/accounting/others/taxes/tax_included.html" + target="_blank" class="oe-link"> + <i class="fa fa-fw fa-arrow-right"/>How to manage tax-included prices</a> </div> </div> </div> diff --git a/addons/purchase/views/res_config_settings_views.xml b/addons/purchase/views/res_config_settings_views.xml index f3b31f193b854ea5cceeead47d6db27960a64a6b..f54ebca1145e52c7021a2ead82d4fe11e4f73f8e 100644 --- a/addons/purchase/views/res_config_settings_views.xml +++ b/addons/purchase/views/res_config_settings_views.xml @@ -110,7 +110,8 @@ </div> <div class="content-group" attrs="{'invisible': [('group_manage_vendor_price', '=', False)]}"> <div class="mt16"> - <a role="button" class="btn-link" target="_blank" href="https://www.odoo.com/documentation/user/12.0/general/base_import/import_faq.html"> + <a role="button" class="btn-link" target="_blank" + href="https://www.odoo.com/documentation/12.0/applications/general/base_import/import_faq.html"> <i class="fa fa-arrow-right"/> How to import </a> diff --git a/addons/web/static/src/js/chrome/user_menu.js b/addons/web/static/src/js/chrome/user_menu.js index fd3af24cb1ffe2fb2cce8cb0185377b57f8514e0..36c3d2b267af7cc0699a1a9cc456e43caf5f30e4 100644 --- a/addons/web/static/src/js/chrome/user_menu.js +++ b/addons/web/static/src/js/chrome/user_menu.js @@ -78,7 +78,7 @@ var UserMenu = Widget.extend({ * @private */ _onMenuDocumentation: function () { - window.open('https://www.odoo.com/documentation/user', '_blank'); + window.open('https://www.odoo.com/documentation/12.0', '_blank'); }, /** * @private diff --git a/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml b/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml index 05202e073b2b8af894ec67964a1a96a6424cc9a7..473adf062346eb65599dcc27df14c397a192558c 100644 --- a/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml +++ b/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml @@ -38,11 +38,13 @@ <div class="form-group btn-group mt-4 access_key_box"> <input type="text" class="form-control w-100" id="accessKeyInput" placeholder="Paste your access key here"/> </div> - <a href="https://www.odoo.com/documentation/user/general/unsplash/unsplash_access_key.html" target="_blank"><i class="fa fa-arrow-right"/> Generate an access key</a> + <a href="https://www.odoo.com/documentation/12.0/applications/general/unsplash/unsplash_access_key.html" target="_blank"> + <i class="fa fa-arrow-right"/> Generate an access key</a> <div class="form-group btn-group mt-4 access_key_box"> <input type="text" class="form-control w-100" id="appIdInput" placeholder="Paste your application ID here"/> </div> - <a href="https://www.odoo.com/documentation/user/general/unsplash/unsplash_application_id.html" target="_blank"><i class="fa fa-arrow-right"/> How to find my Unsplash Application ID?</a> + <a href="https://www.odoo.com/documentation/12.0/applications/general/unsplash/unsplash_application_id.html" target="_blank"> + <i class="fa fa-arrow-right"/> How to find my Unsplash Application ID?</a> <button type="button" class="btn btn-primary btn-block mt-4 save_unsplash">Apply</button> </div> </t> diff --git a/addons/web_unsplash/views/res_config_settings_view.xml b/addons/web_unsplash/views/res_config_settings_view.xml index b09a3370c2dd9c36245b9ada8f8fefc733f89138..be7bcc0536dd88998d504a24bfb3586686b02d2c 100644 --- a/addons/web_unsplash/views/res_config_settings_view.xml +++ b/addons/web_unsplash/views/res_config_settings_view.xml @@ -12,7 +12,7 @@ <field name="unsplash_access_key"/> </div> <div> - <a href="https://www.odoo.com/documentation/user/general/unsplash/unsplash_access_key.html" class="oe_link" target="_blank"> + <a href="https://www.odoo.com/documentation/12.0/applications/general/unsplash/unsplash_access_key.html" class="oe_link" target="_blank"> <i class="fa fa-arrow-right"/> Generate an Access Key </a> </div> diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml index 2fa06435922d9587fa14f6ea88d01efa1e40b35f..d8012fd49001fac1375c2e936e0e8ab2a6858698 100644 --- a/addons/website/static/src/xml/website.backend.xml +++ b/addons/website/static/src/xml/website.backend.xml @@ -53,13 +53,13 @@ <div t-name="website.ga_dialog_content"> Your Tracking ID: <input type="text" name="ga_analytics_key" placeholder="UA-XXXXXXXX-Y" t-att-value="ga_analytics_key" style="width: 100%"></input> - <a href="https://www.odoo.com/documentation/user/online/website/optimize/google_analytics.html" target="_blank"> + <a href="https://www.odoo.com/documentation/12.0/applications/websites/website/optimize/google_analytics.html" target="_blank"> <i class="fa fa-arrow-right"/> How to get my Tracking ID </a> <br/><br/> Your Client ID: <input type="text" name="ga_client_id" t-att-value="ga_key" style="width: 100%"></input> - <a href="https://www.odoo.com/documentation/user/online/website/optimize/google_analytics_dashboard.html" target="_blank"> + <a href="https://www.odoo.com/documentation/12.0/applications/websites/website/optimize/google_analytics_dashboard.html" target="_blank"> <i class="fa fa-arrow-right"/> How to get my Client ID </a> diff --git a/addons/website/views/res_config_settings_views.xml b/addons/website/views/res_config_settings_views.xml index 1c89aa05e2e48604ee582e4528d09efbbfc97fa9..348a10d5e95667395271423785f3fc210f6ce3f6 100644 --- a/addons/website/views/res_config_settings_views.xml +++ b/addons/website/views/res_config_settings_views.xml @@ -136,7 +136,7 @@ </div> </div> <div attrs="{'invisible': [('has_google_analytics', '=', False)]}"> - <a href="https://www.odoo.com/documentation/user/12.0/website/optimize/google_analytics.html" + <a href="https://www.odoo.com/documentation/12.0/applications/websites/website/optimize/google_analytics.html" class="oe_link" target="_blank"> <i class="fa fa-arrow-right"/> How to get my Tracking ID @@ -165,7 +165,7 @@ </div> </div> <div attrs="{'invisible': [('has_google_analytics_dashboard', '=', False)]}"> - <a href="https://www.odoo.com/documentation/user/online/website/optimize/google_analytics_dashboard.html" + <a href="https://www.odoo.com/documentation/12.0/applications/websites/website/optimize/google_analytics_dashboard.html" class="oe_link" target="_blank"> <i class="fa fa-arrow-right"/> How to get my Client ID diff --git a/odoo/addons/base/models/res_users.py b/odoo/addons/base/models/res_users.py index 8462f984f4ec6ecc582ec594692a610f247861a7..d317d23647d7bed14bbac06e203376cd989eb121 100644 --- a/odoo/addons/base/models/res_users.py +++ b/odoo/addons/base/models/res_users.py @@ -838,7 +838,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/12.0/setup/deploy.html#https for details.", + "https://www.odoo.com/documentation/12.0/administration/deployment/deploy.html#https for details.", source ) raise AccessDenied(_("Too many login failures, please wait a bit before trying again.")) diff --git a/odoo/http.py b/odoo/http.py index 06c7bbe86f870e4cf9248e66a24cf8d94420a01c..7843cd219f61a96486420b5d209ff3d42f7bc6b8 100644 --- a/odoo/http.py +++ b/odoo/http.py @@ -810,7 +810,7 @@ class HttpRequest(WebRequest): Odoo URLs are CSRF-protected by default (when accessed with unsafe HTTP methods). See -https://www.odoo.com/documentation/12.0/reference/http.html#csrf for +https://www.odoo.com/documentation/12.0/developer/reference/http.html#csrf for more details. * if this endpoint is accessed through Odoo via py-QWeb form, embed a CSRF