summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2020-02-14 06:52:27 +0000
committerjvm-odoo <jvm@odoo.com>2020-02-14 09:17:31 +0000
commit49140ca8344b2baedd1676719121f16b58d1cf1b (patch)
tree187460126dc2fc743a3ad39ad666f97c7930d6a8 /addons/web/static/src/js/views/basic/basic_controller.js
parent35ab45e46cb62d5420a7f33eb3949e7124137784 (diff)
[FIX] config: fix pg_dump not found
Issue - Remove ~/.odoorc - Launch a server - Try to dump the db in db manager Ok - Restart the server - Retry pg_dump not found Cause When the .odoorc file is not there, the pg_path option is not present so the normalize method set it to None When the server is restarted, it re-checks the options (which are strings) and in the normalize method we check "if not pg_path" but 'None' is truthy so it thinks this is a real path. Solution Check if not pg_path or if pg_path string is None OPW-2189789 closes odoo/odoo#45369 X-original-commit: f080964694c01a79c52e05c0ceb42c18d4c77df5 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions