Skip to content

Commit 93b383e

Browse files
committed
[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#2821 Signed-off-by: Victor Feyens (vfe) <[email protected]>
1 parent 5d2d521 commit 93b383e

File tree

9 files changed

+34
-40
lines changed

9 files changed

+34
-40
lines changed

content/administration/install/deploy.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ Configuration sample
9797
* Allow tcp connection on localhost
9898
* Allow tcp connection from 192.168.1.x network
9999

100-
in ``/etc/postgresql/9.5/main/pg_hba.conf`` set:
100+
in ``/etc/postgresql/<YOUR POSTGRESQL VERSION>/main/pg_hba.conf`` set:
101101

102102
.. code-block:: text
103103
104104
# IPv4 local connections:
105105
host all all 127.0.0.1/32 md5
106106
host all all 192.168.1.0/24 md5
107107
108-
in ``/etc/postgresql/9.5/main/postgresql.conf`` set:
108+
in ``/etc/postgresql/<YOUR POSTGRESQL VERSION>/main/postgresql.conf`` set:
109109

110110
.. code-block:: text
111111
@@ -172,7 +172,7 @@ in Odoo the db_sslmode control the ssl security of the connection
172172
with value chosen out of 'disable', 'allow', 'prefer', 'require', 'verify-ca'
173173
or 'verify-full'
174174

175-
`PostgreSQL Doc <https://www.postgresql.org/docs/current/static/libpq-ssl.html>`_
175+
`PostgreSQL Doc <https://www.postgresql.org/docs/12/static/libpq-ssl.html>`_
176176

177177
.. _builtin_server:
178178

@@ -741,8 +741,8 @@ Here are the supported browsers:
741741
.. _socat: http://www.dest-unreach.org/socat/
742742
.. _PostgreSQL connection settings:
743743
.. _listen to network interfaces:
744-
https://www.postgresql.org/docs/9.6/static/runtime-config-connection.html
744+
https://www.postgresql.org/docs/12/static/runtime-config-connection.html
745745
.. _use an SSH tunnel:
746-
https://www.postgresql.org/docs/9.6/static/ssh-tunnels.html
746+
https://www.postgresql.org/docs/12/static/ssh-tunnels.html
747747
.. _WSGI: https://wsgi.readthedocs.org/
748748
.. _POSBox: https://www.odoo.com/page/point-of-sale-hardware#part_2

content/administration/install/install.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ PostgreSQL
432432
.. group-tab:: Windows
433433

434434
Odoo uses PostgreSQL as database management system. `Download and install PostgreSQL
435-
<https://www.postgresql.org/download/windows/>`_ (supported version: 10.0 and later).
435+
<https://www.postgresql.org/download/windows/>`_ (supported version: 12.0 and later).
436436

437437
By default, the only user is `postgres` but Odoo forbids connecting as `postgres`, so you need
438438
to create a new PostgreSQL user:
@@ -452,7 +452,7 @@ PostgreSQL
452452
.. group-tab:: Linux
453453

454454
Odoo uses PostgreSQL as database management system. Use your package manager to download and
455-
install PostgreSQL (supported version: 10.0 and later).
455+
install PostgreSQL (supported version: 12.0 and later).
456456

457457
It can be achieved by executing the following:
458458

@@ -475,7 +475,7 @@ PostgreSQL
475475
.. group-tab:: Mac OS
476476

477477
Odoo uses PostgreSQL as database management system. Use `postgres.app
478-
<https://postgresapp.com>`_ to download and install PostgreSQL (supported version: 10.0 and
478+
<https://postgresapp.com>`_ to download and install PostgreSQL (supported version: 12.0 and
479479
later).
480480

481481
.. tip::
@@ -726,24 +726,24 @@ official Odoo `docker image <https://hub.docker.com/_/odoo/>`_ page.
726726
.. _demo: https://demo.odoo.com
727727
.. _docker: https://www.docker.com
728728
.. _download: https://www.odoo.com/page/download
729-
.. _Ubuntu 20.04 (Focal): http://releases.ubuntu.com/20.04/
729+
.. _Ubuntu 20.04 (Focal): https://releases.ubuntu.com/20.04/
730730
.. _EPEL: https://fedoraproject.org/wiki/EPEL
731-
.. _PostgreSQL: http://www.postgresql.org
731+
.. _PostgreSQL: https://www.postgresql.org
732732
.. _the official installer:
733733
.. _install pip:
734734
https://pip.pypa.io/en/latest/installing.html#install-pip
735-
.. _Quilt: http://en.wikipedia.org/wiki/Quilt_(software)
735+
.. _Quilt: https://en.wikipedia.org/wiki/Quilt_(software)
736736
.. _saas: https://www.odoo.com/page/start
737737
.. _the wkhtmltopdf download page: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.5
738-
.. _UAC: http://en.wikipedia.org/wiki/User_Account_Control
739-
.. _wkhtmltopdf: http://wkhtmltopdf.org
738+
.. _UAC: https://en.wikipedia.org/wiki/User_Account_Control
739+
.. _wkhtmltopdf: https://wkhtmltopdf.org
740740
.. _pip: https://pip.pypa.io
741741
.. _macports: https://www.macports.org
742-
.. _homebrew: http://brew.sh
742+
.. _homebrew: https://brew.sh
743743
.. _wheels: https://wheel.readthedocs.org/en/latest/
744744
.. _virtualenv: https://pypi.python.org/pypi/virtualenv
745745
.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/en/latest/
746-
.. _pywin32: http://sourceforge.net/projects/pywin32/files/pywin32/
746+
.. _pywin32: https://sourceforge.net/projects/pywin32/files/pywin32/
747747
.. _community-repository: https://github.com/odoo/odoo
748748
.. _enterprise-repository: https://github.com/odoo/enterprise
749749
.. _Editions: https://www.odoo.com/pricing#pricing_table_features

content/developer/cli.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,16 +633,16 @@ Here is a sample file:
633633
db_user=odoo
634634
dbfilter=odoo
635635
636-
.. _jinja2: http://jinja.pocoo.org
636+
.. _jinja2: https://jinja.palletsprojects.com/
637637
.. _regular expression: https://docs.python.org/3/library/re.html
638638
.. _password authentication:
639-
https://www.postgresql.org/docs/9.3/static/auth-methods.html#AUTH-PASSWORD
639+
https://www.postgresql.org/docs/12/static/auth-methods.html#AUTH-PASSWORD
640640
.. _template database:
641-
https://www.postgresql.org/docs/9.3/static/manage-ag-templatedbs.html
641+
https://www.postgresql.org/docs/12/static/manage-ag-templatedbs.html
642642
.. _level:
643643
https://docs.python.org/3/library/logging.html#logging.Logger.setLevel
644644
.. _a PostgreSQL URI:
645-
https://www.postgresql.org/docs/9.2/static/libpq-connect.html#AEN38208
645+
https://www.postgresql.org/docs/12/static/libpq-connect.html#AEN38208
646646
.. _Werkzeug's proxy support:
647647
https://werkzeug.palletsprojects.com/en/0.16.x/middleware/proxy_fix/#module-werkzeug.middleware.proxy_fix
648648
.. _pyinotify: https://github.com/seb-m/pyinotify/wiki

content/developer/howtos/backend.rst

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ Relational field types are:
469469

470470
print(foo.other_id.name)
471471

472-
.. seealso:: `foreign keys <http://www.postgresql.org/docs/9.3/static/tutorial-fk.html>`_
472+
.. seealso:: `foreign keys <http://www.postgresql.org/docs/12/static/tutorial-fk.html>`_
473473

474474
:class:`One2many(other_model, related_field) <odoo.fields.One2many>`
475475
A virtual relationship, inverse of a :class:`~odoo.fields.Many2one`.
@@ -1375,18 +1375,12 @@ Dashboards
13751375
bypasses all Odoo authentication and security mechanisms.
13761376
13771377
.. _database index:
1378-
http://use-the-index-luke.com/sql/preface
1379-
1380-
.. _POEdit: http://poedit.net
1381-
1378+
https://use-the-index-luke.com/sql/preface
1379+
.. _POEdit: https://poedit.net
13821380
.. _PostgreSQL's documentation:
13831381
.. _table_constraint:
1384-
http://www.postgresql.org/docs/9.3/static/ddl-constraints.html
1385-
1386-
.. _python: http://python.org
1387-
1388-
.. _XPath: http://w3.org/TR/xpath
1389-
1390-
.. _twitter bootstrap: http://getbootstrap.com
1391-
1392-
.. _wkhtmltopdf: http://wkhtmltopdf.org
1382+
https://www.postgresql.org/docs/12/static/ddl-constraints.html
1383+
.. _python: https://python.org
1384+
.. _XPath: https://w3.org/TR/xpath
1385+
.. _twitter bootstrap: https://getbootstrap.com
1386+
.. _wkhtmltopdf: https://wkhtmltopdf.org

content/developer/howtos/rdtraining/08_relations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ can then be easily done with::
5959

6060
.. seealso::
6161

62-
`foreign keys <https://www.postgresql.org/docs/current/tutorial-fk.html>`_
62+
`foreign keys <https://www.postgresql.org/docs/12/tutorial-fk.html>`_
6363

6464
In practice a many2one can be seen as a dropdown list in a form view.
6565

content/developer/howtos/rdtraining/11_constraints.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@ improve it in the :ref:`next chapter <howto/rdtraining/12_sprinkles>`.
127127

128128
.. _PostgreSQL's documentation:
129129
.. _table_constraint:
130-
https://www.postgresql.org/docs/current/ddl-constraints.html
130+
https://www.postgresql.org/docs/12/ddl-constraints.html

content/developer/howtos/rdtraining/12_sprinkles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,4 +519,4 @@ Looking good? If not, don't worry, the :ref:`next chapter <howto/rdtraining/13_i
519519
require stat buttons ;-)
520520

521521
.. _order_by:
522-
https://www.postgresql.org/docs/current/queries-order.html
522+
https://www.postgresql.org/docs/12/queries-order.html

content/developer/howtos/website.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -999,10 +999,10 @@ to *active="True"*:
999999
With this, the *Product Categories* sidebar will automatically be enabled when
10001000
the *Academy* module is installed.
10011001
1002-
.. _templates: http://en.wikipedia.org/wiki/Web_template
1002+
.. _templates: https://en.wikipedia.org/wiki/Web_template
10031003
.. _postgres:
10041004
.. _postgresql:
1005-
http://www.postgresql.org
1005+
https://www.postgresql.org
10061006
.. _converter pattern:
10071007
.. _converter patterns:
1008-
http://werkzeug.pocoo.org/docs/routing/#rule-format
1008+
https://werkzeug.pocoo.org/docs/routing/#rule-format

content/developer/reference/backend/views.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ There are 5 possible type of tags in a dashboard view:
687687

688688
``group_operator`` (optional)
689689
A valid postgreSQL aggregate function identifier to use when aggregating
690-
values (see https://www.postgresql.org/docs/9.5/static/functions-aggregate.html).
690+
values (see https://www.postgresql.org/docs/12/static/functions-aggregate.html).
691691
If not provided, By default, the group_operator from the field definition is used.
692692
Note that no aggregation of field values is achieved if the group_operator value is "".
693693

0 commit comments

Comments
 (0)