mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
auto fixed docstring
This commit is contained in:
parent
a2e54a760e
commit
ad7d88a6f4
@ -24,7 +24,7 @@ logger = logging.getLogger('inventree')
|
|||||||
def perform_stocktake(target: part.models.Part, user: User, note: str = '', commit=True, **kwargs):
|
def perform_stocktake(target: part.models.Part, user: User, note: str = '', commit=True, **kwargs):
|
||||||
"""Perform stocktake action on a single part.
|
"""Perform stocktake action on a single part.
|
||||||
|
|
||||||
arguments:
|
Arguments:
|
||||||
target: A single Part model instance
|
target: A single Part model instance
|
||||||
commit: If True (default) save the result to the database
|
commit: If True (default) save the result to the database
|
||||||
user: User who requested this stocktake
|
user: User who requested this stocktake
|
||||||
|
@ -82,7 +82,7 @@ class LabelPrintingMixin:
|
|||||||
items: The list of database items to print (e.g. StockItem instances)
|
items: The list of database items to print (e.g. StockItem instances)
|
||||||
request: The HTTP request object which triggered this print job
|
request: The HTTP request object which triggered this print job
|
||||||
|
|
||||||
Keyword arguments:
|
Keyword Arguments:
|
||||||
printing_options: The printing options set for this print job defined in the PrintingOptionsSerializer
|
printing_options: The printing options set for this print job defined in the PrintingOptionsSerializer
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""
|
"""Directory for custom plugin development.
|
||||||
Directory for custom plugin development.
|
|
||||||
|
|
||||||
Please read the docs for more information https://docs.inventree.org/en/latest/extend/plugins/#local-directory
|
Please read the docs for more information https://docs.inventree.org/en/latest/extend/plugins/#local-directory
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user