Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmadpak/erpnext_quota
App to manage ERPNext Site, User, Company and Space limitations
https://github.com/ahmadpak/erpnext_quota
erpnext erpnext-quota frappe
Last synced: 2 months ago
JSON representation
App to manage ERPNext Site, User, Company and Space limitations
- Host: GitHub
- URL: https://github.com/ahmadpak/erpnext_quota
- Owner: ahmadpak
- License: other
- Created: 2020-02-18T12:38:00.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2023-05-29T06:54:22.000Z (over 1 year ago)
- Last Synced: 2024-05-15T18:13:51.623Z (6 months ago)
- Topics: erpnext, erpnext-quota, frappe
- Language: Python
- Homepage: http://havenir.com
- Size: 5.53 MB
- Stars: 83
- Watchers: 8
- Forks: 99
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- awesome-frappe - ERPNext Quota - App to manage ERPNext Site, User, Company and Space limitations. (Uncategorized / Uncategorized)
README
## Erpnext Quota
App to manage ERPNext User, Company and Space limitations
#### How to Install
```
bench get-app https://github.com/ahmadpak/erpnext_quota
bench --site *site_name* install-app erpnext_quota
```
### Usage
Install the app. It will add quota config in the site_config.json file
Contents will look similar:```json
{
"db_name": "_153e0b60307d7518",
"db_password": "LrhxSwya9SlAfjAa",
"db_type": "mariadb",
"encryption_key": "IcfnBCemM-aDs6Xe9RErXLMlXsDdM1nfC4q3jg7_PFE=",
"quota": {
"active_users": 6,
"backup_files_size": 29,
"company": 2,
"count_administrator_user": 0,
"count_website_users": 0,
"db_space": 0,
"document_limit": {
"Sales Invoice": {"limit": 10, "period": "Daily"},
"Purchase Invoice": {"limit": 10, "period": "Weekly"},
"Journal Entry": {"limit": 10, "period": "Monthly"},
"Payment Entry": {"limit": 10, "period": "Monthly"}
},
"private_files_size": 0,
"public_files_size": 3,
"space": 0,
"used_company": 1,
"used_space": 31,
"users": 5,
"valid_till": "2023-03-19"
},
"user_type_doctype_limit": {
"employee_self_service": 20
}
```Manually change the default values to change the limits.
Default is:
- 5 active users not including website users
- 2 companiesquota.json file will automatically get updated for any
To view the Usage info, find it in Settings Module or search 'Usage Info' in the awesome bar
![Database Limit Screenshot](images/database_limit.png)
![Files Limit Screenshot](images/files_space_limit.png)
![User Limit Screenshot](images/user_limit.png)
![Login Limit Screenshot](images/login_validity.gif)
![Usage Info Screenshot](images/usage_info_doc.png)#### License
MIT