Generating shelf/bin labels from default_location #6052
LavissaWoW
started this conversation in
Show and tell
Replies: 3 comments 3 replies
-
@LavissaWoW very nice! |
Beta Was this translation helpful? Give feedback.
0 replies
-
@LavissaWoW Can you share some code for the label? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@LavissaWoW are you planing to put the plugin on GH? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the merging of #6016, I was able to put together a very simple plugin (Not yet on GH) that exposes a list of PartBriefs to StockLocation label contexts.
Effectively making an API call for "part/?default_location=instance.pk" and including the result as context.
As we have fixed locations for all parts, we label bins with their intended contents.
Combining this and the Brother plugin allowed me to completely integrate the label printing into InvenTree.
(Yes, we actually bought a printer based on the Brother QL plugin :> )
The end result after some template tinkering was this:

Beta Was this translation helpful? Give feedback.
All reactions