Browse Source

Dec 8 : [FIX] Bug Fixed 'auto_database_backup'

pull/313/head
AjmalCybro 2 years ago
parent
commit
b1394f6978
  1. 8
      auto_database_backup/doc/RELEASE_NOTES.md
  2. 2
      auto_database_backup/models/db_backup_configure.py
  3. BIN
      auto_database_backup/static/description/assets/modules/1.gif
  4. BIN
      auto_database_backup/static/description/assets/modules/1.png
  5. BIN
      auto_database_backup/static/description/assets/modules/2.jpg
  6. BIN
      auto_database_backup/static/description/assets/modules/2.png
  7. BIN
      auto_database_backup/static/description/assets/modules/3.png
  8. BIN
      auto_database_backup/static/description/assets/modules/4.png
  9. BIN
      auto_database_backup/static/description/assets/modules/5.png
  10. BIN
      auto_database_backup/static/description/assets/modules/6.jpg
  11. BIN
      auto_database_backup/static/description/assets/modules/6.png
  12. 155
      auto_database_backup/static/description/index.html

8
auto_database_backup/doc/RELEASE_NOTES.md

@ -5,3 +5,11 @@
#### ADD
- Initial commit for auto_database_backup
## Module <auto_database_backup>
#### 31.10.2022
#### Version 17.0.2.0.1
#### UPDT
- - Updated the database name check function which got access denied when list_db=False.

2
auto_database_backup/models/db_backup_configure.py

@ -538,7 +538,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:

BIN
auto_database_backup/static/description/assets/modules/1.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 KiB

BIN
auto_database_backup/static/description/assets/modules/1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

BIN
auto_database_backup/static/description/assets/modules/2.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
auto_database_backup/static/description/assets/modules/2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

BIN
auto_database_backup/static/description/assets/modules/3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 46 KiB

BIN
auto_database_backup/static/description/assets/modules/4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 44 KiB

BIN
auto_database_backup/static/description/assets/modules/5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 46 KiB

BIN
auto_database_backup/static/description/assets/modules/6.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
auto_database_backup/static/description/assets/modules/6.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

155
auto_database_backup/static/description/index.html

@ -746,65 +746,71 @@
</div>
</div>
</div>
<div id="tab2" class="tab-pane fade">
<div class="col-mg-12" style="padding: 1rem 4rem;">
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;">
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div id="tab2" class="tab-pane fade">
<div class="col-mg-12" style="padding: 1rem 4rem;">
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;">
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Generate Database Backups on regular intervals.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
width="16px"></span>Generate
Database Backups on regular intervals.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Notify user on success and failure of backup generation.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
width="16px"></span>Notify user on
success and failure of backup generation.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Automatically remove old backups.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
width="16px"></span>Automatically
remove old backups.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Store Backup to Different Locations.
<ul style="list-style: none;font-weight: 400; color:#718096">
<li>Store to Remote Servers, Nextcloud, Amazon S3, Google Drive, Dropbox, Onedrive.
</li>
</ul>
</li>
</ul>
</div>
width="16px"></span>Store Backup to
Different Locations.
<ul style="list-style: none;font-weight: 400; color:#718096">
<li>Store to Remote Servers, Nextcloud,
Amazon S3, Google Drive, Dropbox,
Onedrive.
</li>
</ul>
</li>
</ul>
</div>
<div id="tab3" class="tab-pane fade">
<div class="col-mg-12 active"
style="padding: 1rem 4rem;">
<div class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3"
style="font-size: 0.8rem; font-weight: 500;"><span>Version
</div>
<div id="tab3" class="tab-pane fade">
<div class="col-mg-12 active"
style="padding: 1rem 4rem;">
<div class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3"
style="font-size: 0.8rem; font-weight: 500;"><span>Version
17.0.1.0.0</span><span
class="px-2">|</span><span
style="color: #714B67;font-weight: 600;">Released on: 6th November 2023</span>
</div>
<p class="m-0"
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Initial Commit for Automatic Database
Backup To Local Server, Remote Server,
Google Drive, Dropbox, Onedrive, Nextcloud
and Amazon S3.</p>
class="px-2">|</span><span
style="color: #714B67;font-weight: 600;">Released on: 6th November 2023</span>
</div>
<p class="m-0"
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Initial Commit for Automatic Database
Backup To Local Server, Remote Server,
Google Drive, Dropbox, Onedrive, Nextcloud
and Amazon S3.</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
@ -817,53 +823,50 @@
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row p-4">
<div class="col">
<div class="col-lg-4">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/16.0/manufacturing_reports/"
<a href="https://apps.odoo.com/apps/modules/17.0/base_accounting_kit/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/1.png"
<div style=" ">
<img src="assets/modules/1.gif"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Manufacturing Reports</p>
Odoo 17 Full Accounting Kit</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="col-lg-4">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/16.0/mrp_work_order_print/"
<a href="https://apps.odoo.com/apps/modules/17.0/employee_dynamic_fields/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/2.png"
<div style="">
<img src="assets/modules/2.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Print Work Order Details</p>
Employee Dynamic Fields</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="col-lg-4">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/16.0/bom_total_cost/"
<a href="https://apps.odoo.com/apps/modules/17.0/product_barcode/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/3.png"
<div style="">
<img src="assets/modules/5.png"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Show Total Cost On BOM</p>
Product Barcode Generator</p>
</div>
</a>
</div>
@ -872,54 +875,50 @@
</div>
<div class="carousel-item">
<div class="row p-4">
<div class="col">
<div class="col-lg-4">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/16.0/simple_mrp_order/"
<a href="https://apps.odoo.com/apps/modules/17.0/invoice_format_editor/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/4.png"
<div style="">
<img src="assets/modules/3.png"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Simple Manufacturing Orders</p>
Invoice Format Editor</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="col-lg-4">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/16.0/bom_multiple_product/"
<a href="https://apps.odoo.com/apps/modules/17.0/login_user_detail/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/5.png"
<div style="">
<img src="assets/modules/4.png"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
BOM Multiple Product
Selection</p>
User Log Details</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="col-lg-4">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/16.0/cw_mrp/"
<a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/6.png"
<div style="">
<img src="assets/modules/6.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Catch Weight Management:
Manufacturing</p>
Send Whatsapp Message</p>
</div>
</a>
</div>

Loading…
Cancel
Save