Skip to content

Commit

Permalink
Merge pull request #200 from mlebreuil/develop
Browse files Browse the repository at this point in the history
v2.2.9
  • Loading branch information
mlebreuil authored Jan 4, 2025
2 parents d46ab9e + d09b785 commit 3c8d83c
Show file tree
Hide file tree
Showing 26 changed files with 1,643 additions and 303 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[flake8]
max-line-length = 120
extend-ignore = W504,E501
extend-ignore = W504,E501,C901
exclude =
.git,
__pycache__,
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ coverage.xml
cover/

# Translations
*.mo
*.pot

# Django stuff:
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@

## Version 2

### Version 2.2.8

* [198](https://github.com/mlebreuil/netbox-contract/issues/198) Add internationalization support and french translation.
* [196](https://github.com/mlebreuil/netbox-contract/issues/196) Add notice field to contract. Add an example custom script to report contract nearing cancelation notice.
* minor fix and cleanup

### Version 2.2.8

* [167](https://github.com/mlebreuil/netbox-contract/issues/167) Add selector to object dynamic selection box.
* [193](https://github.com/mlebreuil/netbox-contract/pull/193) Set the first currency in the choiceset as default currency.

### Version 2.2.7

* fix migration dependency
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ PLUGINS_CONFIG = {
```

* top_level_menu : If "Contracts" appears under the "Plugins" menu item or on its own
* default_accounting_dimensions: The accounting dimensions which will appear in the field' background when empty.
* default_accounting_dimensions: The accounting dimensions which will appear in the field' background when empty. Note that accounting dimensions are now managed as individual objects. The use of this field is deprecated.
* mandatory_contract_fields, mandatory_invoice_fields: Fields which are not required by default and can be set as such. The list of fields is at the bottom of the contract import form.
* hidden_contract_fields, hidden_invoice_fields: List of fields to be hidden. Fields should not be required to be hidden.

### Customize the plugin fields choices

Internal partie reference the legal entity of your organization that is a partie to the contract.
The first currency will also be the default currency for contracts.

```python
# configuration.py
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.2.7"
version = "2.2.8"
authors = [
{ name="Marc Lebreuil", email="[email protected]" },
]
Expand Down
Loading

0 comments on commit 3c8d83c

Please sign in to comment.