Replies: 5 comments 3 replies
-
@rieders are you wanting to encode the full "path" (e.g. /some/path/to/the/location) in the barcode? This is probably not the best approach - if the location changes, the barcode is out of date. Best to encode just the ID into the barcode field itself. In fact, location barcodes are provided out of the box, you don't need to encode a custom barcode. Use the standard one, and then you can scan it directly with the app (for example). Any other "human readable" data can be printed on the label as additional text, if you so require. |
Beta Was this translation helpful? Give feedback.
-
Hello Greetings Andre |
Beta Was this translation helpful? Give feedback.
-
Hello
How can I simplify it Greetings Andre |
Beta Was this translation helpful? Give feedback.
-
Hello
Thank you for the help with the barcode.
that worked great.
I wanted to create storage locations.
is there a way to create rows?
for example compartment1 to compartment33? or do I have to create each
subject individually?
thank you again
Greetings Andre
Lukas ***@***.***> schrieb am Do., 27. Juli 2023, 19:41:
… You can just use {{ location.pathstring }}. To see really all available
options, best is to start a devcontainer and add a breakpoint in a template
or at some place where a location is available. Then you could use the
variable inspector to see everything available.
—
Reply to this email directly, view it on GitHub
<#5329 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHPOZYMUA63SFI7BXFRDP3XSKR4XANCNFSM6AAAAAA2VFE53M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hallo wenn ich
cd /opt/inventree
***@***.***:/opt/inventree# source ./env/bin/activate
(env) ***@***.***:/opt/inventree# invoke update
Ausführe become ich dann mit unter diese Fehlermeldung.
Traceback (most recent call last):
File "/opt/inventree/InvenTree/manage.py", line 23, in <module>
execute_from_command_line(sys.argv)
File "/opt/inventree/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/opt/inventree/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 363, in execute
settings.INSTALLED_APPS
File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/__init__.py", line 82, in __getattr__
self._setup(name)
File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/opt/inventree/env/lib/python3.9/site-packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/opt/inventree/InvenTree/InvenTree/settings.py", line 116, in <module>
STATIC_ROOT = config.get_static_dir()
File "/opt/inventree/InvenTree/InvenTree/config.py", line 230, in get_static_dir
raise FileNotFoundError('INVENTREE_STATIC_ROOT not specified')
FileNotFoundError: INVENTREE_STATIC_ROOT not specified
(env) ***@***.***:/opt/inventree#
Von: Lukas ***@***.***>
Gesendet: Freitag, 28. Juli 2023 23:40
An: inventree/InvenTree ***@***.***>
Cc: A. Rieth ***@***.***>; Mention ***@***.***>
Betreff: Re: [inventree/InvenTree] Full storage location (Discussion #5329)
Hello, this is not possible with inventree directly, but you have a few choices if you want to automate that process.
1. You could use <https://docs.inventree.org/en/latest/api/python/python/> inventree-python to create you locations with a simple python loop
2. I wrote a plugin inventree-bulk-plugin <https://github.com/wolflu05/inventree-bulk-plugin> that is capable of generating storage locations by a range patter including sublocations. This plugin offers a lot of flexibility and you can even save these templates for later use to e.g. generate a drawer tower with just by one click. Unfortunately this plugin is currently in the beta phase and should get a major breaking syntax update soon. You could take a look at #4084 <#4084> and the readme, but this is currently a bit out of date, because of the major refactor in the dev branch.
—
Reply to this email directly, view it on GitHub <#5329 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABHPOZ6A55TOO2IEMECJ7JLXSQWS3ANCNFSM6AAAAAA2VFE53M> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ABHPOZYCHDGPUTV37W7EEL3XSQWS3A5CNFSM6AAAAAA2VFE53OWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAMRTGS.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I've only been using Inventree for a few days and so far I'm very enthusiastic about the possibilities.
How can I insert the full storage location in a barcode.
Unfortunately, this is not fully described in the documentation.
Thanks very much
André
Beta Was this translation helpful? Give feedback.
All reactions