Tax System module for Alliance Auth
Project description
Tax System module for AllianceAuth.
A Tax System for Corporation to Monitor Payments like Renting Tax, etc.
Features
Upcoming
Installation
[!NOTE] AA Tax System needs at least Alliance Auth v4.6.0 Please make sure to update your Alliance Auth before you install this APP
Step 1 - Install the Package
Make sure you're in your virtual environment (venv) of your Alliance Auth then install the pakage.
pip install aa-taxsystem
Step 2 - Configure Alliance Auth
Configure your Alliance Auth settings (local.py) as follows:
- Add
'allianceauth.corputils',toINSTALLED_APPS - Add
'eveuniverse',toINSTALLED_APPS - Add
'taxsystem',toINSTALLED_APPS
Step 3 - Add the Scheduled Tasks
To set up the Scheduled Tasks add following code to your local.py
CELERYBEAT_SCHEDULE["taxsystem_update_all_corps"] = {
"task": "taxsystem.tasks.update_all_corps",
"schedule": crontab(minute=0, hour="*/1"),
}
Step 4 - Migration to AA
python manage.py collectstatic
python manage.py migrate
Step 5 - Setting up Permissions
With the Following IDs you can set up the permissions for the Tax System
| ID | Description | |
|---|---|---|
basic_access |
Can access the Tax System module | All Members with the Permission can access the Tax System. |
manage_access |
Can manage Tax System | Can modify/remove tax settings. |
create_access |
Can add Corporation | Users with this permission can add corporation. |
Step 6 - (Optional) Setting up Compatibilies
The Following Settings can be setting up in the local.py
-
TAXSYSTEM_APP_NAME:
"YOURNAME"- Set the name of the APP -
TAXSYSTEM_LOGGER_USE:
True / False- Set to use own Logger File
If you set up TAXSYSTEM_LOGGER_USE to True you need to add the following code below:
LOGGING_TAXSYSTEM = {
"handlers": {
"taxsystem_file": {
"level": "INFO",
"class": "logging.handlers.RotatingFileHandler",
"filename": os.path.join(BASE_DIR, "log/taxsystem.log"),
"formatter": "verbose",
"maxBytes": 1024 * 1024 * 5,
"backupCount": 5,
},
},
"loggers": {
"taxsystem": {
"handlers": ["taxsystem_file", "console"],
"level": "INFO",
},
},
}
LOGGING["handlers"].update(LOGGING_TAXSYSTEM["handlers"])
LOGGING["loggers"].update(LOGGING_TAXSYSTEM["loggers"])
Highlights
[!NOTE] Contributing You want to improve the project? Just Make a Pull Request with the Guidelines. We Using pre-commit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aa_taxsystem-0.0.1.tar.gz.
File metadata
- Download URL: aa_taxsystem-0.0.1.tar.gz
- Upload date:
- Size: 43.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f495772c8e4b22d28dd7bc49c1161243b85e9e0d0c10abe8e0148a4ff575339
|
|
| MD5 |
1c444e33d86bbefe4b8c67fea6172f3d
|
|
| BLAKE2b-256 |
f2204c741e09a8bcf3f9c72cdc7d757b98d212e8ba567d7885caac7fbddd167c
|
File details
Details for the file aa_taxsystem-0.0.1-py3-none-any.whl.
File metadata
- Download URL: aa_taxsystem-0.0.1-py3-none-any.whl
- Upload date:
- Size: 54.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a256e91bf6b6bf5d2a136085b7df2a9e0c2d01dc12047cf42270c85abbb9458
|
|
| MD5 |
96909c688a9f0dbc9fcb8848481a429d
|
|
| BLAKE2b-256 |
5700dd949d03763c203edbef8069e406ed7d7e5ec5aca650d9e31de9da0df8b0
|