Skip to content

Commit

Permalink
Add remark about NAME to the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeoLacruz committed Jan 18, 2025
1 parent 4ccd2c9 commit d799ca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,16 @@ class ZebraLabelPlugin(LabelPrintingMixin, SettingsMixin, IntegrationPluginBase)
AUTHOR = "Michael Buchmann"
DESCRIPTION = "Label printing plugin for Zebra printers"
VERSION = ZEBRA_PLUGIN_VERSION
NAME = "Zebra"
NAME = "Zebra labels"
SLUG = "zebra"
TITLE = "Zebra Label Printer"
```

The name of the class can be freely chosen. You reference to it in the entry_points section of the setup.py file.
The name of the class can be freely chosen but should be different from SLUG. Otherwise it does not
show up. You reference to it in the entry_points section of the setup.py file.
The parameters need to be like in the example. Then there is the description block. The keywords are fixed and
need to be like that. The values are found in the UI as shown in the pictures below.

![Admin](https://github.com/SergeoLacruz/inventree-zebra-plugin/blob/master/pictures/plugin_admin.png)
![Config](https://github.com/SergeoLacruz/inventree-zebra-plugin/blob/master/pictures/plugin.png)


Expand Down
Binary file removed pictures/plugin_admin.png
Binary file not shown.

0 comments on commit d799ca5

Please sign in to comment.