Skip to content

Commit d5eeae9

Browse files
authored
📖 add an instruction to control all the databases
1 parent e4619ed commit d5eeae9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

odoo_backup_sh/models/odoo_backup_sh.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ class BackupConfig(models.Model):
9191

9292
@api.model
9393
def _compute_database_names(self):
94+
# Uncomment following line if you want control all the databases, while keeping /web/database/manager page hidden
95+
# return [(db, db) for db in odoo.service.db.list_dbs(force=True)]
9496
if odoo.tools.config["list_db"]:
9597
return [
9698
(db, db) for db in odoo.service.db.list_dbs() if db != "session_store"

0 commit comments

Comments
 (0)