--db-filter is necessary for Odoo 10 too, it seems

This commit is contained in:
Stéphane Bidoul 2021-11-24 19:32:35 +01:00
parent 9e1a21f409
commit 8b31beed55
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -11,10 +11,11 @@ bash /runboat/runboat-clone-and-install.sh
oca_wait_for_postgres
# --db_user is necessary for Odoo <= 10
# --db_user and --db_filter is necessary for Odoo <= 10
unbuffer $(which odoo || which openerp-server) \
--data-dir=/mnt/data/odoo-data-dir \
--no-database-list \
-d ${PGDATABASE} \
--db_user ${PGUSER}
--db-filter=^${PGDATABASE}
--db_user=${PGUSER}