Merge branch '16.0-add-postgres-default-database' into 'main'
[IMP] cli tools: default 'postgres' database. See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!112
This commit is contained in:
commit
c921663813
2
newsfragments/+improving-psql-command-default-db.misc
Normal file
2
newsfragments/+improving-psql-command-default-db.misc
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
set a default 'postgres' database in ``oow psql`` command, to avoid force user
|
||||
to set a database, in case of dbless command.
|
||||
|
|
@ -59,6 +59,7 @@ def database_option_required(function):
|
|||
"--database",
|
||||
required=True,
|
||||
prompt=True,
|
||||
default="postgres",
|
||||
type=str,
|
||||
help="Odoo Database for which you want to perform the operation.",
|
||||
)(function)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user