-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from mlebreuil/develop
v2.2.1
- Loading branch information
Showing
14 changed files
with
138 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
# Contract | ||
|
||
## Contract details | ||
|
||
![Contract](img/contract.png "contract") | ||
|
||
Linked objects: | ||
- External partie type: either an Circuit provider or Contract Service provider. | ||
- Accounting dimensions: Will be copied to each invoice. Also this is still working the use invoice templates with accounting dimensions should be prefered. | ||
- Monthly / Yearly recuring costs: Only one of these two options can be used for each contract. The value will be used, along with the invoice frequency, to calculate each invoice amount. | ||
- Invoice frequency : The number of month that each invoice covers. | ||
- Parent: Contrats can be arranged in a parent / child hierarchie. | ||
|
||
## Linked objects: | ||
|
||
![Contract linked objects](img/contract_linked_objects.png "contract linked objects") | ||
|
||
- Assignments: the assignement of contract to objects is managed from each object's detail view. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
name = "netbox-contract" | ||
version = "2.2.0" | ||
version = "2.2.1" | ||
authors = [ | ||
{ name="Marc Lebreuil", email="[email protected]" }, | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ class ContractsConfig(PluginConfig): | |
name = 'netbox_contract' | ||
verbose_name = 'Netbox contract' | ||
description = 'Contract management plugin for Netbox' | ||
version = '2.2.0' | ||
version = '2.2.1' | ||
author = 'Marc Lebreuil' | ||
author_email = '[email protected]' | ||
base_url = 'contracts' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/netbox_contract/migrations/0034_contract_yrc_alter_contract_mrc.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 5.0.6 on 2024-08-01 15:43 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('netbox_contract', '0033_remove_contract_invoice_template'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='contract', | ||
name='yrc', | ||
field=models.DecimalField( | ||
blank=True, decimal_places=2, max_digits=10, null=True | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='contract', | ||
name='mrc', | ||
field=models.DecimalField( | ||
blank=True, decimal_places=2, max_digits=10, null=True | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/netbox_contract/templates/contract_assignments_bottom_old.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters