[FIX] documentation: typical command to launch odoo is not usable

The typical command to launch odoo in the install documentation is usable as it is after following the complete instructions.
There is two changes done here:
- Remove the ../my_modules from the command, as it is a directory not used in the page at all.
- Remove the db-filter option not mandatory since the 11.0 version and add a '-d' argument. This will create the db instead of showing the database selector to the reader.

closes odoo/odoo#44899

X-original-commit: 6a5d43dac042d76a12d1757962a0aec641fa1ae8
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
This commit is contained in:
fda-odoo
2020-02-07 16:33:14 +00:00
committed by Denis Ledoux
parent 67d9eafd2e
commit 53dc9208e0
+12 -9
View File
@@ -407,11 +407,12 @@ A typical way to run the server would be:
.. code-block:: doscon
C:\> cd CommunityPath/
C:\> python odoo-bin -r dbuser -w dbpassword --addons-path=addons,../mymodules --db-filter=mydb$
C:\> python odoo-bin -r dbuser -w dbpassword --addons-path=addons -d mydb
Where `CommunityPath` is the path of the Odoo Community installation, `dbuser` is the
PostgreSQL login, `dbpassword` is the PostgreSQL password, `../mymodules` is a directory with
additional addons (if any) and `mydb` is the default database to serve on `localhost:8069`.
PostgreSQL login, `dbpassword` is the PostgreSQL password
and `mydb` is the default database to serve on `localhost:8069`. You can add other
directory paths separated by a comma to ``addons`` at the end of addons-path option.
Linux
-----
@@ -574,10 +575,11 @@ A typical way to run the server would be:
.. code-block:: console
$ cd /CommunityPath
$ python3 odoo-bin --addons-path=addons,../mymodules --db-filter=mydb$
$ python3 odoo-bin --addons-path=addons -d mydb
Where `CommunityPath` is the path of the Odoo Community installation, `../mymodules` is a
directory with additional addons (if any) and `mydb` is the default database to serve on `localhost:8069`.
Where `CommunityPath` is the path of the Odoo Community installation
and `mydb` is the default database to serve on `localhost:8069`. You can add other
directory paths separated by a comma to ``addons`` at the end of addons-path option.
Mac OS
------
@@ -735,10 +737,11 @@ A typical way to run the server would be:
.. code-block:: console
$ cd /CommunityPath
$ python3 odoo-bin --addons-path=addons,../mymodules --db-filter=mydb$
$ python3 odoo-bin --addons-path=addons -d mydb
Where `CommunityPath` is the path of the Odoo Community installation, `../mymodules` is a
directory with additional addons (if any) and `mydb` is the default database to serve on `localhost:8069`.
Where `CommunityPath` is the path of the Odoo Community installation
and `mydb` is the default database to serve on `localhost:8069`. You can add other
directory paths separated by a comma to ``addons`` at the end of addons-path option.
.. _setup/install/docker: