-
-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[13.0-14.0] odoo_backup_sh: get Access denied when list_db=False #1113
Comments
Related commit in odoo: odoo/odoo@b02dea7 |
Похоже надо еще код добавить, который пользователь сам должен раскомментировать В этом месте:
Добавить в виде комментария следующей код (я частично протестировал в шеле) from unittest.mock import patch
with patch.dict(odoo.tools.config.options, {'list_db': True}):
dump_stream = odoo.service.db.dump_db(name, None, "zip") |
С этим работает, а вот это судя по всему не актуально. Надо дополнительно в 14 протестировать |
Актуально -- ты иначе не сможешь выбрать другие базы |
The issue is fixed in v13 but we need this commit in v14 at least |
Steps to reproduce:
list_db = False
in odoo.confExpected behavior: backup done as expected
Affected versions: it tested only on 13.0, 14.0; after fix needs to check other versions
The text was updated successfully, but these errors were encountered: