Browse Source

Dec 8 : [FIX] Bug Fixed 'auto_database_backup'

pull/295/head
AjmalCybro 2 years ago
parent
commit
43274d08ce
  1. 4
      auto_database_backup/__manifest__.py
  2. 8
      auto_database_backup/doc/RELEASE_NOTES.md
  3. 2
      auto_database_backup/models/db_backup_configure.py

4
auto_database_backup/__manifest__.py

@ -22,14 +22,14 @@
{
'name': "Automatic Database Backup To Local Server, Remote Server,"
"Google Drive, Dropbox, Onedrive, Nextcloud and Amazon S3",
'version': '16.0.2.0.1',
'version': '16.0.3.0.2',
'category': 'Extra Tools',
'summary': 'Generate automatic backup of databases and store to local, '
'google drive, dropbox, nextcloud, amazon S3, onedrive or '
'remote server',
'description': 'This module has been developed for creating database '
'backups automatically and store it to the different '
'locations.',
'locations,database backup, backup, Google Drive, Dropbox, Onedrive, Nextcloud, Amazon S3, automatic backup',
'author': "Cybrosys Techno Solutions",
'maintainer': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',

8
auto_database_backup/doc/RELEASE_NOTES.md

@ -13,3 +13,11 @@
#### ADD
- Next Cloud Integration and Amazon S3 are added and added active field customization if connection is successful only then active field will be able to edit.
## Module <auto_database_backup>
#### 07.12.2023
#### Version 16.0.3.0.2
#### UPDT
- Updated the database name check function which got access denied when list_db=False.

2
auto_database_backup/models/db_backup_configure.py

@ -535,7 +535,7 @@ class DbBackupConfigure(models.Model):
@api.constrains('db_name')
def _check_db_credentials(self):
"""Validate entered database name and master password"""
database_list = db.list_dbs()
database_list = db.list_dbs(force=True)
if self.db_name not in database_list:
raise ValidationError(_("Invalid Database Name!"))
try:

Loading…
Cancel
Save