2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-15 16:58:14 +00:00
This commit is contained in:
Oliver Walters
2025-11-27 22:49:22 +00:00
parent a5297a3888
commit 22f6be6882
3 changed files with 7 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ the *Scan Items Into Location* action allows you to scan items into the selected
### Stock Item Actions
From the [Stock Item detail page](./stock.md#stock-item-detail-view), the following barcode actions may be available:
From the [Stock Item detail page](./stock.md#details-tab), the following barcode actions may be available:
{{ image("app/barcode_stock_item_actions.png", "Stock item barcode actions") }}

View File

@@ -245,7 +245,7 @@ This can be adjusted using the following environment variables:
| INVENTREE_WEB_ADDR | 0.0.0.0 |
| INVENTREE_WEB_PORT | 8000 |
These variables are combined in the [Dockerfile](../../../contrib/container/Dockerfile) to build the bind string passed to the InvenTree server on startup.
These variables are combined in the [Dockerfile]({{ sourcefile("contrib/container/Dockerfile") }}) to build the bind string passed to the InvenTree server on startup.
To enable IPv6/Dual Stack support, set `INVENTREE_WEB_ADDR` to `[::]` when you create/start the container.

View File

@@ -5,6 +5,7 @@ from typing import Optional
from django.core.exceptions import ValidationError
from django.db.models import Model
import common.models
import part.models
import stock.models
from plugin import PluginMixinEnum
@@ -227,7 +228,9 @@ class ValidationMixin:
"""
return None
def validate_parameter(self, parameter, data: str) -> Optional[bool]:
def validate_parameter(
self, parameter: common.models.Parameter, data: str
) -> Optional[bool]:
"""Validate a parameter value.
Arguments:
@@ -240,3 +243,4 @@ class ValidationMixin:
Raises:
ValidationError: If the proposed parameter value is objectionable
"""
return None