Replies: 1 comment 5 replies
-
@miggland good question. Check out what happens in the backend when you call that API URL: InvenTree/InvenTree/label/api.py Line 230 in f4e8c05 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to print a label from a plugin.
That is, my plugin should only call the 'print' function, and tell InvenTree to use a specific, installed label printer plugin to run the printing - basically, I want the same effect as if calling an URLlike this:
/api/label/stock/1/print/?items[]=408&plugin=printer
from within my plugin.
But how do I call this from within Python in a plugin?
Beta Was this translation helpful? Give feedback.
All reactions