Database Limit Size
This module allows blocking backend access when database limit is exceeded
On loading backend page, module fetches size of database (including filestore) and compares it with value, that is defined in "System Parameters" as database_limit_size. Value is expected to be in bytes.
If database_limit_size is not given or zero, there is no limit.
Roadmap
- Customize percentage of the limit which, if exceeded, would indicate a warning. As for now it is hardcoded to 90%
Questions?
To get an assistance on this module contact us by email apps@it-projects.info
Contributors
- Eugene Molotov:
Further information
Odoo Apps Store: https://apps.odoo.com/apps/modules/15.0/itp_database_limit_size/
Tested on Odoo 15.0
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Community Apps Dependencies | Show |
| Lines of code | 114 |
| Technical Name |
itp_database_limit_size |
| Website | https://it-projects.info |
Database Limit Size
Installation
- Install this module in a usual way
Configuration
- `Log in as admin
- Activate Developer Mode
- Open menu [[ Settings ]] >> Technical >> System Parameter
- Edit existing record by key database_limit_size or create new one
- Set integer value, click "Save" and reload web page
- If you set small nonzero value (for example "1" without quotes), "Database size exceed" will appear and will disable navigating
- If you set value that is less than actual database size, but greater than 90% of actual database size and web_responsive is installed, you will see warning message "Database size is about to be exceed"
Please log in to comment on this module