[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) <vfe@odoo.com>
This commit is contained in:
Victor Feyens 2022-10-17 09:17:38 +00:00
parent 5d2d52181b
commit 93b383e95d
9 changed files with 34 additions and 40 deletions

View File

@ -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/<YOUR POSTGRESQL VERSION>/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/<YOUR POSTGRESQL VERSION>/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 <https://www.postgresql.org/docs/current/static/libpq-ssl.html>`_
`PostgreSQL Doc <https://www.postgresql.org/docs/12/static/libpq-ssl.html>`_
.. _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

View File

@ -432,7 +432,7 @@ PostgreSQL
.. group-tab:: Windows
Odoo uses PostgreSQL as database management system. `Download and install PostgreSQL
<https://www.postgresql.org/download/windows/>`_ (supported version: 10.0 and later).
<https://www.postgresql.org/download/windows/>`_ (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
<https://postgresapp.com>`_ to download and install PostgreSQL (supported version: 10.0 and
<https://postgresapp.com>`_ to download and install PostgreSQL (supported version: 12.0 and
later).
.. tip::
@ -726,24 +726,24 @@ official Odoo `docker image <https://hub.docker.com/_/odoo/>`_ 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

View File

@ -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

View File

@ -469,7 +469,7 @@ Relational field types are:
print(foo.other_id.name)
.. seealso:: `foreign keys <http://www.postgresql.org/docs/9.3/static/tutorial-fk.html>`_
.. seealso:: `foreign keys <http://www.postgresql.org/docs/12/static/tutorial-fk.html>`_
:class:`One2many(other_model, related_field) <odoo.fields.One2many>`
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

View File

@ -59,7 +59,7 @@ can then be easily done with::
.. seealso::
`foreign keys <https://www.postgresql.org/docs/current/tutorial-fk.html>`_
`foreign keys <https://www.postgresql.org/docs/12/tutorial-fk.html>`_
In practice a many2one can be seen as a dropdown list in a form view.

View File

@ -127,4 +127,4 @@ improve it in the :ref:`next chapter <howto/rdtraining/12_sprinkles>`.
.. _PostgreSQL's documentation:
.. _table_constraint:
https://www.postgresql.org/docs/current/ddl-constraints.html
https://www.postgresql.org/docs/12/ddl-constraints.html

View File

@ -519,4 +519,4 @@ Looking good? If not, don't worry, the :ref:`next chapter <howto/rdtraining/13_i
require stat buttons ;-)
.. _order_by:
https://www.postgresql.org/docs/current/queries-order.html
https://www.postgresql.org/docs/12/queries-order.html

View File

@ -999,10 +999,10 @@ to *active="True"*:
With this, the *Product Categories* sidebar will automatically be enabled when
the *Academy* module is installed.
.. _templates: http://en.wikipedia.org/wiki/Web_template
.. _templates: https://en.wikipedia.org/wiki/Web_template
.. _postgres:
.. _postgresql:
http://www.postgresql.org
https://www.postgresql.org
.. _converter pattern:
.. _converter patterns:
http://werkzeug.pocoo.org/docs/routing/#rule-format
https://werkzeug.pocoo.org/docs/routing/#rule-format

View File

@ -687,7 +687,7 @@ There are 5 possible type of tags in a dashboard view:
``group_operator`` (optional)
A valid postgreSQL aggregate function identifier to use when aggregating
values (see https://www.postgresql.org/docs/9.5/static/functions-aggregate.html).
values (see https://www.postgresql.org/docs/12/static/functions-aggregate.html).
If not provided, By default, the group_operator from the field definition is used.
Note that no aggregation of field values is achieved if the group_operator value is "".