From 93b383e95dfd29363a3de5faa4cb3b95d5a2de3a Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Mon, 17 Oct 2022 09:17:38 +0000 Subject: [PATCH] [FIX] *: Odoo 16 requires postgresql 12 Update the minimal version in the installation doc Make all postgresql docs references target the v12 documentation Fix some non http links on the way closes odoo/documentation#2821 Signed-off-by: Victor Feyens (vfe) --- content/administration/install/deploy.rst | 10 ++++----- content/administration/install/install.rst | 20 ++++++++--------- content/developer/cli.rst | 8 +++---- content/developer/howtos/backend.rst | 22 +++++++------------ .../howtos/rdtraining/08_relations.rst | 2 +- .../howtos/rdtraining/11_constraints.rst | 2 +- .../howtos/rdtraining/12_sprinkles.rst | 2 +- content/developer/howtos/website.rst | 6 ++--- content/developer/reference/backend/views.rst | 2 +- 9 files changed, 34 insertions(+), 40 deletions(-) diff --git a/content/administration/install/deploy.rst b/content/administration/install/deploy.rst index 19b482121..908f3e56e 100644 --- a/content/administration/install/deploy.rst +++ b/content/administration/install/deploy.rst @@ -97,7 +97,7 @@ Configuration sample * Allow tcp connection on localhost * Allow tcp connection from 192.168.1.x network -in ``/etc/postgresql/9.5/main/pg_hba.conf`` set: +in ``/etc/postgresql//main/pg_hba.conf`` set: .. code-block:: text @@ -105,7 +105,7 @@ in ``/etc/postgresql/9.5/main/pg_hba.conf`` set: host all all 127.0.0.1/32 md5 host all all 192.168.1.0/24 md5 -in ``/etc/postgresql/9.5/main/postgresql.conf`` set: +in ``/etc/postgresql//main/postgresql.conf`` set: .. code-block:: text @@ -172,7 +172,7 @@ in Odoo the db_sslmode control the ssl security of the connection with value chosen out of 'disable', 'allow', 'prefer', 'require', 'verify-ca' or 'verify-full' -`PostgreSQL Doc `_ +`PostgreSQL Doc `_ .. _builtin_server: @@ -741,8 +741,8 @@ Here are the supported browsers: .. _socat: http://www.dest-unreach.org/socat/ .. _PostgreSQL connection settings: .. _listen to network interfaces: - https://www.postgresql.org/docs/9.6/static/runtime-config-connection.html + https://www.postgresql.org/docs/12/static/runtime-config-connection.html .. _use an SSH tunnel: - https://www.postgresql.org/docs/9.6/static/ssh-tunnels.html + https://www.postgresql.org/docs/12/static/ssh-tunnels.html .. _WSGI: https://wsgi.readthedocs.org/ .. _POSBox: https://www.odoo.com/page/point-of-sale-hardware#part_2 diff --git a/content/administration/install/install.rst b/content/administration/install/install.rst index fcb7849d3..ad1a6318c 100644 --- a/content/administration/install/install.rst +++ b/content/administration/install/install.rst @@ -432,7 +432,7 @@ PostgreSQL .. group-tab:: Windows Odoo uses PostgreSQL as database management system. `Download and install PostgreSQL - `_ (supported version: 10.0 and later). + `_ (supported version: 12.0 and later). By default, the only user is `postgres` but Odoo forbids connecting as `postgres`, so you need to create a new PostgreSQL user: @@ -452,7 +452,7 @@ PostgreSQL .. group-tab:: Linux Odoo uses PostgreSQL as database management system. Use your package manager to download and - install PostgreSQL (supported version: 10.0 and later). + install PostgreSQL (supported version: 12.0 and later). It can be achieved by executing the following: @@ -475,7 +475,7 @@ PostgreSQL .. group-tab:: Mac OS Odoo uses PostgreSQL as database management system. Use `postgres.app - `_ to download and install PostgreSQL (supported version: 10.0 and + `_ to download and install PostgreSQL (supported version: 12.0 and later). .. tip:: @@ -726,24 +726,24 @@ official Odoo `docker image `_ page. .. _demo: https://demo.odoo.com .. _docker: https://www.docker.com .. _download: https://www.odoo.com/page/download -.. _Ubuntu 20.04 (Focal): http://releases.ubuntu.com/20.04/ +.. _Ubuntu 20.04 (Focal): https://releases.ubuntu.com/20.04/ .. _EPEL: https://fedoraproject.org/wiki/EPEL -.. _PostgreSQL: http://www.postgresql.org +.. _PostgreSQL: https://www.postgresql.org .. _the official installer: .. _install pip: https://pip.pypa.io/en/latest/installing.html#install-pip -.. _Quilt: http://en.wikipedia.org/wiki/Quilt_(software) +.. _Quilt: https://en.wikipedia.org/wiki/Quilt_(software) .. _saas: https://www.odoo.com/page/start .. _the wkhtmltopdf download page: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.5 -.. _UAC: http://en.wikipedia.org/wiki/User_Account_Control -.. _wkhtmltopdf: http://wkhtmltopdf.org +.. _UAC: https://en.wikipedia.org/wiki/User_Account_Control +.. _wkhtmltopdf: https://wkhtmltopdf.org .. _pip: https://pip.pypa.io .. _macports: https://www.macports.org -.. _homebrew: http://brew.sh +.. _homebrew: https://brew.sh .. _wheels: https://wheel.readthedocs.org/en/latest/ .. _virtualenv: https://pypi.python.org/pypi/virtualenv .. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/en/latest/ -.. _pywin32: http://sourceforge.net/projects/pywin32/files/pywin32/ +.. _pywin32: https://sourceforge.net/projects/pywin32/files/pywin32/ .. _community-repository: https://github.com/odoo/odoo .. _enterprise-repository: https://github.com/odoo/enterprise .. _Editions: https://www.odoo.com/pricing#pricing_table_features diff --git a/content/developer/cli.rst b/content/developer/cli.rst index 88d177022..b07fccf84 100644 --- a/content/developer/cli.rst +++ b/content/developer/cli.rst @@ -633,16 +633,16 @@ Here is a sample file: db_user=odoo dbfilter=odoo -.. _jinja2: http://jinja.pocoo.org +.. _jinja2: https://jinja.palletsprojects.com/ .. _regular expression: https://docs.python.org/3/library/re.html .. _password authentication: - https://www.postgresql.org/docs/9.3/static/auth-methods.html#AUTH-PASSWORD + https://www.postgresql.org/docs/12/static/auth-methods.html#AUTH-PASSWORD .. _template database: - https://www.postgresql.org/docs/9.3/static/manage-ag-templatedbs.html + https://www.postgresql.org/docs/12/static/manage-ag-templatedbs.html .. _level: https://docs.python.org/3/library/logging.html#logging.Logger.setLevel .. _a PostgreSQL URI: - https://www.postgresql.org/docs/9.2/static/libpq-connect.html#AEN38208 + https://www.postgresql.org/docs/12/static/libpq-connect.html#AEN38208 .. _Werkzeug's proxy support: https://werkzeug.palletsprojects.com/en/0.16.x/middleware/proxy_fix/#module-werkzeug.middleware.proxy_fix .. _pyinotify: https://github.com/seb-m/pyinotify/wiki diff --git a/content/developer/howtos/backend.rst b/content/developer/howtos/backend.rst index e7ecf5b70..3c8d83ac3 100644 --- a/content/developer/howtos/backend.rst +++ b/content/developer/howtos/backend.rst @@ -469,7 +469,7 @@ Relational field types are: print(foo.other_id.name) - .. seealso:: `foreign keys `_ + .. seealso:: `foreign keys `_ :class:`One2many(other_model, related_field) ` A virtual relationship, inverse of a :class:`~odoo.fields.Many2one`. @@ -1375,18 +1375,12 @@ Dashboards bypasses all Odoo authentication and security mechanisms. .. _database index: - http://use-the-index-luke.com/sql/preface - -.. _POEdit: http://poedit.net - + https://use-the-index-luke.com/sql/preface +.. _POEdit: https://poedit.net .. _PostgreSQL's documentation: .. _table_constraint: - http://www.postgresql.org/docs/9.3/static/ddl-constraints.html - -.. _python: http://python.org - -.. _XPath: http://w3.org/TR/xpath - -.. _twitter bootstrap: http://getbootstrap.com - -.. _wkhtmltopdf: http://wkhtmltopdf.org + https://www.postgresql.org/docs/12/static/ddl-constraints.html +.. _python: https://python.org +.. _XPath: https://w3.org/TR/xpath +.. _twitter bootstrap: https://getbootstrap.com +.. _wkhtmltopdf: https://wkhtmltopdf.org diff --git a/content/developer/howtos/rdtraining/08_relations.rst b/content/developer/howtos/rdtraining/08_relations.rst index 0de530878..9b1ee2baa 100644 --- a/content/developer/howtos/rdtraining/08_relations.rst +++ b/content/developer/howtos/rdtraining/08_relations.rst @@ -59,7 +59,7 @@ can then be easily done with:: .. seealso:: - `foreign keys `_ + `foreign keys `_ In practice a many2one can be seen as a dropdown list in a form view. diff --git a/content/developer/howtos/rdtraining/11_constraints.rst b/content/developer/howtos/rdtraining/11_constraints.rst index bfcd8e8bd..80965fbbe 100644 --- a/content/developer/howtos/rdtraining/11_constraints.rst +++ b/content/developer/howtos/rdtraining/11_constraints.rst @@ -127,4 +127,4 @@ improve it in the :ref:`next chapter `. .. _PostgreSQL's documentation: .. _table_constraint: - https://www.postgresql.org/docs/current/ddl-constraints.html + https://www.postgresql.org/docs/12/ddl-constraints.html diff --git a/content/developer/howtos/rdtraining/12_sprinkles.rst b/content/developer/howtos/rdtraining/12_sprinkles.rst index 72e32fff1..25294bb87 100644 --- a/content/developer/howtos/rdtraining/12_sprinkles.rst +++ b/content/developer/howtos/rdtraining/12_sprinkles.rst @@ -519,4 +519,4 @@ Looking good? If not, don't worry, the :ref:`next chapter