From 53dc9208e0e4b71ffd5c8d76405573b6f35bdeb7 Mon Sep 17 00:00:00 2001 From: fda-odoo Date: Wed, 29 Jan 2020 13:16:58 +0000 Subject: [PATCH] [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) --- doc/setup/install.rst | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/doc/setup/install.rst b/doc/setup/install.rst index e2c68c7852a..3c5fe48743b 100644 --- a/doc/setup/install.rst +++ b/doc/setup/install.rst @@ -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: