Skip to content

Commit

Permalink
update documentation and version
Browse files Browse the repository at this point in the history
  • Loading branch information
mlebreuil committed Jul 28, 2024
1 parent 5f825db commit f4b9957
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

## Version 2

### Version 2.2.0

* [140](https://github.com/mlebreuil/netbox-contract/issues/140) Add the "Invoice line" and "Accounting dimension" models. In order to simplify invoices creation, it is possible to selsct one invoice as the template for each contract; Its accounting lines will automatically be copied to the new invoices for the contract. The amount of the first line will be updated so that the sum of the amount for each invoice line match the invoice amount.

### Version 2.1.2

* [127](https://github.com/mlebreuil/netbox-contract/issues/135) Fix service provider creation issue
Expand Down
5 changes: 5 additions & 0 deletions docs/accounting_dimensions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Accounting dimensions

![Accounting dimensions](img/accrounting_dimensions.png "accounting dimensions")


7 changes: 7 additions & 0 deletions docs/contract.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Contract

![Contract](img/contract.png "contract")

Linked objects:

![Contract linked objects](img/contract_linked_objects.png "contract linked objects")
Binary file added docs/img/accounting_dimensions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/contract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/contract_linked_objects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/invoice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/invoice_line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/invoice_linked_objects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/invoice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Invoice

![Invoice](img/invoice.png "invoice")

Linked objects:

![Invoice linked objects](img/invoice_linked_objects.png "invoice linked objects")
5 changes: 5 additions & 0 deletions docs/invoice_line.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Invoice line

![Invoice line](img/invoice_line.png "invoice line")


4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ repo_url: https://github.com/mlebreuil/netbox-contract
repo_name: netbox-contract
nav:
- Home: index.md
- Contract: contract.md
- Invoice: invoice.md
- Invoice line: invoice_line.md
- Accounting dimensions: accounting_dimensions.md
- Contributing: contributing.md
- Changelog: changelog.md
theme:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "netbox-contract"
version = "2.1.3"
version = "2.2.0"
authors = [
{ name="Marc Lebreuil", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/netbox_contract/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ContractsConfig(PluginConfig):
name = 'netbox_contract'
verbose_name = 'Netbox contract'
description = 'Contract management plugin for Netbox'
version = '2.1.3'
version = '2.2.0'
author = 'Marc Lebreuil'
author_email = '[email protected]'
base_url = 'contracts'
Expand Down

0 comments on commit f4b9957

Please sign in to comment.