2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-23 07:10:55 +00:00
* Fix typo

getSpashScren -> getSplashScreen

* Cleanup docs
This commit is contained in:
Oliver
2023-10-17 12:12:22 +11:00
committed by GitHub
parent 40fb1329bb
commit c74368f805
4 changed files with 6 additions and 6 deletions
InvenTree
InvenTree
part
docs/docs
extend
plugins
report

@ -120,7 +120,7 @@ def getLogoImage(as_file=False, custom=True):
return getStaticUrl('img/inventree.png')
def getSplashScren(custom=True):
def getSplashScreen(custom=True):
"""Return the InvenTree splash screen, or a custom splash if available"""
static_storage = StaticFilesStorage()
@ -441,7 +441,7 @@ def extract_serial_numbers(input_string, expected_quantity: int, starting_value=
- Individual serials are separated by comma: 1, 2, 3, 6,22
- Sequential ranges with provided limits are separated by hyphens: 1-5, 20 - 40
- The "next" available serial number can be specified with the tilde (~) character
- Serial numbers can be supplied as <start>+ for getting all expecteded numbers starting from <start>
- Serial numbers can be supplied as <start>+ for getting all expected numbers starting from <start>
- Serial numbers can be supplied as <start>+<length> for getting <length> numbers starting from <start>
Actual generation of sequential serials is passed to the 'validation' plugin mixin,

@ -219,7 +219,7 @@ def inventree_logo(**kwargs):
def inventree_splash(**kwargs):
"""Return the URL for the InvenTree splash screen, *or* a custom screen if the user has provided one."""
return InvenTree.helpers.getSplashScren(**kwargs)
return InvenTree.helpers.getSplashScreen(**kwargs)
@register.simple_tag()

@ -54,4 +54,4 @@ class InvenTreeBarcodePlugin(BarcodeMixin, InvenTreePlugin):
```
To try it just copy the file to src/InvenTree/plugins and restart the server. Open the scan barcode window and start to scan codes or type in text manually. Each time the timeout is hit the plugin will execute and printout the result. The timeout can be changed in settings->Barcode Support->Barcode Input Delay.
To try it just copy the file to src/InvenTree/plugins and restart the server. Open the scan barcode window and start to scan codes or type in text manually. Each time the timeout is hit the plugin will execute and printout the result. The timeout can be changed in `Settings->Barcode Support->Barcode Input Delay`.