mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 17:28:11 +00:00
Fixes
This commit is contained in:
@@ -73,7 +73,7 @@ the *Scan Items Into Location* action allows you to scan items into the selected
|
|||||||
|
|
||||||
### Stock Item Actions
|
### 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") }}
|
{{ image("app/barcode_stock_item_actions.png", "Stock item barcode actions") }}
|
||||||
|
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ This can be adjusted using the following environment variables:
|
|||||||
| INVENTREE_WEB_ADDR | 0.0.0.0 |
|
| INVENTREE_WEB_ADDR | 0.0.0.0 |
|
||||||
| INVENTREE_WEB_PORT | 8000 |
|
| 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.
|
To enable IPv6/Dual Stack support, set `INVENTREE_WEB_ADDR` to `[::]` when you create/start the container.
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ from typing import Optional
|
|||||||
from django.core.exceptions import ValidationError
|
from django.core.exceptions import ValidationError
|
||||||
from django.db.models import Model
|
from django.db.models import Model
|
||||||
|
|
||||||
|
import common.models
|
||||||
import part.models
|
import part.models
|
||||||
import stock.models
|
import stock.models
|
||||||
from plugin import PluginMixinEnum
|
from plugin import PluginMixinEnum
|
||||||
@@ -227,7 +228,9 @@ class ValidationMixin:
|
|||||||
"""
|
"""
|
||||||
return None
|
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.
|
"""Validate a parameter value.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@@ -240,3 +243,4 @@ class ValidationMixin:
|
|||||||
Raises:
|
Raises:
|
||||||
ValidationError: If the proposed parameter value is objectionable
|
ValidationError: If the proposed parameter value is objectionable
|
||||||
"""
|
"""
|
||||||
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user