mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
Add warning for namechange
This commit is contained in:
parent
a55a68d629
commit
514a24afaf
@ -24,6 +24,9 @@ Note: Plugins are discovered and loaded only when the server is started.
|
|||||||
|
|
||||||
Custom plugins must inherit from the [InvenTreePlugin class](https://github.com/inventree/InvenTree/blob/2d1776a151721d65d0ae007049d358085b2fcfd5/InvenTree/plugin/plugin.py#L204). Any plugins installed via the methods outlined above will be "discovered" when the InvenTree server launches.
|
Custom plugins must inherit from the [InvenTreePlugin class](https://github.com/inventree/InvenTree/blob/2d1776a151721d65d0ae007049d358085b2fcfd5/InvenTree/plugin/plugin.py#L204). Any plugins installed via the methods outlined above will be "discovered" when the InvenTree server launches.
|
||||||
|
|
||||||
|
!!! warning "Namechange"
|
||||||
|
The name of the base class was changed with `0.7.0` from `IntegrationPluginBase` to `InvenTreePlugin`. While the old name is still available till `0.8.0` we strongly suggest upgrading your plugins. Deprecation warnings are raised if the old name is used.
|
||||||
|
|
||||||
### Plugin Options
|
### Plugin Options
|
||||||
|
|
||||||
Some metadata options can be defined as constants in the plugins class
|
Some metadata options can be defined as constants in the plugins class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user