42 Allow the selection of either providers or Service providers as contract third partie.
+
Removed all reference to the direct assignement of circuits to contracts
+
88 Add a placeholder value to the accounting dimensions jsonfield. This placeholder vale con be configured as part of the PLUGINS_CONFIG parameter in the configuration.py file (see above)
+
89 add the posibility to link contracts to sites and virtual machines.
Add support for Netbox 3.5 which become the minimum version supported to accomodate the removal of NetBoxModelCSVForm class (replaced by NetBoxModelImportForm) .
Add a new contract asignement model to allow the assignement of contract not only to Circuits. The support for the direct Contract to Circuit relation will be removed in version 2.1.0 . In Order to migrate existing relations contract_migration.py script is provided and can be run from the django shell.
Linting and PEP8 style enforcement will be done with Flake8 which is a wrapper arround:
+- PyFlakes
+- pycodestyle
+- Ned Batchelder’s McCabe script
+Configuration is maintained in the .flake8 file (no support for pyproject.toml)
+
The pre-commit Python framework is used to simplify the managment of pre-commit hooks.
+Config is stored in .pre-commit-config.yaml
master - The current stable release. Individual changes should never be pushed directly to this branch, but rather merged from develop.
+
develop - Active development for the upcoming patch release. Pull requests will typically be based on this branch unless they introduce breaking changes that must be deferred until the next minor release.
+
+
For each new feature or bug fix a branch is created from the corresponding issue.
A reminder for the maintainers on how to deploy.
+Make sure all your changes are committed (including an entry in CHANGELOG.md) and that all tests pass.
+Then in the github project go to Releases and create a new release with a new tag. This will automatically upload the release to pypi:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/search/search_index.json b/search/search_index.json
index bfc144b..d4bffbf 100644
--- a/search/search_index.json
+++ b/search/search_index.json
@@ -1 +1 @@
-{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Introduction","text":""},{"location":"#netbox-contract-documentation","title":"Netbox-contract documentation","text":""},{"location":"#overview","title":"Overview","text":"
The pluggin adds contracts and invoices model to Netbox. It allows to register contract with objects. Add invoices to contracts.
To ensure our plugin is accessible to the NetBox installation, we first need to activate the Python virtual environment that was created when we installed NetBox. To do this, determine the virtual environment's path (this will be /opt/netbox/venv/ if you use the documentation's defaults) and activate it:
$ source /opt/netbox/venv/bin/activate\n
"},{"location":"#install-the-package","title":"Install the package","text":"
Finally, we need to configure NetBox to enable our new plugin. Over in the NetBox installation path, open netbox/netbox/configuration.py and look for the PLUGINS parameter; this should be an empty list. (If it's not yet defined, go ahead and create it.) Add the name of our plugin to this list:
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.
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.
"},{"location":"#customize-the-plugin-fields-choices","title":"Customize the plugin fields choices","text":"
Internal partie reference the legal entity of your organization that is a partie to the contract.
(venv) $ cd /opt/netbox/netbox/\n(venv) $ python3 manage.py migrate\n
"}]}
\ No newline at end of file
+{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Introduction","text":""},{"location":"#netbox-contract-documentation","title":"Netbox-contract documentation","text":""},{"location":"#overview","title":"Overview","text":"
The pluggin adds contracts and invoices model to Netbox. It allows to register contract with objects. Add invoices to contracts.
To ensure our plugin is accessible to the NetBox installation, we first need to activate the Python virtual environment that was created when we installed NetBox. To do this, determine the virtual environment's path (this will be /opt/netbox/venv/ if you use the documentation's defaults) and activate it:
$ source /opt/netbox/venv/bin/activate\n
"},{"location":"#install-the-package","title":"Install the package","text":"
Finally, we need to configure NetBox to enable our new plugin. Over in the NetBox installation path, open netbox/netbox/configuration.py and look for the PLUGINS parameter; this should be an empty list. (If it's not yet defined, go ahead and create it.) Add the name of our plugin to this list:
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.
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.
"},{"location":"#customize-the-plugin-fields-choices","title":"Customize the plugin fields choices","text":"
Internal partie reference the legal entity of your organization that is a partie to the contract.
42 Allow the selection of either providers or Service providers as contract third partie.
Removed all reference to the direct assignement of circuits to contracts
88 Add a placeholder value to the accounting dimensions jsonfield. This placeholder vale con be configured as part of the PLUGINS_CONFIG parameter in the configuration.py file (see above)
89 add the posibility to link contracts to sites and virtual machines.
Add support for Netbox 3.5 which become the minimum version supported to accomodate the removal of NetBoxModelCSVForm class (replaced by NetBoxModelImportForm) .
Add a new contract asignement model to allow the assignement of contract not only to Circuits. The support for the direct Contract to Circuit relation will be removed in version 2.1.0 . In Order to migrate existing relations contract_migration.py script is provided and can be run from the django shell.
"},{"location":"contributing/#types-of-contributions","title":"Types of contributions","text":""},{"location":"contributing/#report-bugs-or-submit-feedback","title":"Report bugs or submit feedback","text":"
For this: All files will be formated using the black auto-formatter. Configuration is stored in pyproject.toml
isort is used to automate import sorting.
Linting and PEP8 style enforcement will be done with Flake8 which is a wrapper arround: - PyFlakes - pycodestyle - Ned Batchelder\u2019s McCabe script Configuration is maintained in the .flake8 file (no support for pyproject.toml)
The pre-commit Python framework is used to simplify the managment of pre-commit hooks. Config is stored in .pre-commit-config.yaml
master - The current stable release. Individual changes should never be pushed directly to this branch, but rather merged from develop.
develop - Active development for the upcoming patch release. Pull requests will typically be based on this branch unless they introduce breaking changes that must be deferred until the next minor release.
For each new feature or bug fix a branch is created from the corresponding issue.
"},{"location":"contributing/#setup-your-development-environment","title":"Setup your development environment","text":"
A reminder for the maintainers on how to deploy. Make sure all your changes are committed (including an entry in CHANGELOG.md) and that all tests pass. Then in the github project go to Releases and create a new release with a new tag. This will automatically upload the release to pypi:
"}]}
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 7032467..f770ba5 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -5,4 +5,14 @@
2024-05-04daily
+
+ https://github.com/mlebreuil/netbox-contract/changelog/
+ 2024-05-04
+ daily
+
+
+ https://github.com/mlebreuil/netbox-contract/contributing/
+ 2024-05-04
+ daily
+
\ No newline at end of file
diff --git a/sitemap.xml.gz b/sitemap.xml.gz
index 919833d3b0bc4a832ef6503672881daca676db8f..e9ff54739ab0bac768443cc1818169d58ad21d09 100644
GIT binary patch
literal 242
zcmV89V>)8AGt$k)E
zwUbj0#ZptvsdQ{4y1W9+^URAU8}+4d%nphf>r&t$g5WPq?V4H(V4dzI0~)nZO2s%&
zD~{Fj&^9(R>g4Q4wx4Ry
sK72{oC~GwM$@c4%D?6b3FL{^2_Y>9U{`<)HR=<(@2JBCi`gQ^U06LC(=>Px#
literal 219
zcmV<103`n(iwFo~MmA;w|8r?{Wo=<_E_iKh08NieZo@DPME5y`p}j>VNP)JHm0eGe
z9zd2^TYx^PNXO~zD?3@386*GFC=3crS
zAqMOV&OSgw?(?H{IdQR$LBo2oCs^W`2Xj)VbF1E3b*`3|wzIj(rV)P%{+hx1@TXy?
VJfp#uZEN*M^A8lxdT$c}000F_W#a$<