You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for hi-jacking your topic, but how did you install the plugin? I tried to do that via web console but get "ERROR: Could not find a version that satisfies the requirement inventree-part-templates (from versions: none)" message. I suppose that "Source URL" pointing to the github should be be provided but i have quite few experience with the github and it does not work for me unfortunately.
Hey,
I'm struggling to get the plugin to work. Once activated, I am not able to generate / print any labels no matter which template Im using.
`
Traceback (most recent call last):
File "/home/inventree/src/backend/InvenTree/report/api.py", line 271, in print
plugin.print_labels(
File "/home/inventree/src/backend/InvenTree/plugin/base/label/mixins.py", line 155, in print_labels
context = label.get_context(item, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/inventree/src/backend/InvenTree/report/models.py", line 411, in get_context
plugin.add_label_context(self, self.object_to_print, request, context)
^^^^^^^^^^^^^^^^^^^^
`AttributeError: 'LabelTemplate' object has no attribute 'object_to_print'``
Disabling the plugin fixes the issue.
I have tried to import the example 29mm template. Same result. The issue also appears when trying to use PlatformUI's label preview feature.
Is the plugin compatible with the latest version or only stable? I havent tried the latter.
The text was updated successfully, but these errors were encountered: