Skip to content

Commit 5a334bc

Browse files
committed
[ADD] barcode: serial numbers and lots
Co-authored-by: Felicious <feku@odoo.com> Rename/remove images
1 parent dcd5eea commit 5a334bc

File tree

8 files changed

+136
-0
lines changed

8 files changed

+136
-0
lines changed

content/applications/inventory_and_mrp/barcode/setup.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ Setup
1111
setup/device_troubleshooting
1212
setup/hardware
1313
setup/software
14+
setup/serial_numbers_lots
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
===================================
2+
Barcodes for lot and serial numbers
3+
===================================
4+
5+
The **Barcode** app saves time and prevents user errors while handling :doc:`lot
6+
<../../inventory/product_management/product_tracking/lots>` and :doc:`serial numbers
7+
<../../inventory/product_management/product_tracking/serial_numbers>`. Instead of typing long
8+
sequences of characters, print and scan barcodes instead.
9+
10+
Configuration
11+
=============
12+
13+
To use lot or serial numbers:
14+
15+
#. They must be enabled in the database.
16+
#. Tracking by lot or serial number must be selected for each product.
17+
18+
See the :doc:`serial numbers documentation
19+
<../../inventory/product_management/product_tracking/serial_numbers>` and :doc:`lots documentation
20+
<../../inventory/product_management/product_tracking/lots>` to learn how to start using this
21+
feature.
22+
23+
GS1-compatible QR codes
24+
-----------------------
25+
26+
:doc:`GS1 <../operations/gs1_nomenclature>` nomenclature can be used for serial numbers and lots.
27+
28+
To enable GS1 barcodes for lots and serial numbers, go to :menuselection:`Inventory app -->
29+
Configuration --> Settings` and in the :guilabel:`Traceability` section under :guilabel:`Lots &
30+
Serial Numbers`, tick the box for :guilabel:`Print GS1 Barcodes for Lots & Serial Numbers`.
31+
32+
.. image:: serial_numbers_lots/enable-gs1-barcodes.png
33+
:alt: Inventory settings with 'Print GS1 Barcodes for Lots & Serial Numbers' ticked.
34+
35+
.. warning::
36+
GS1 lot and serial number barcodes require a 2D-capable scanner to be scanned. See :doc:`hardware
37+
configuration <hardware>` to ensure that the feature is compatible with available equipment.
38+
39+
.. _inventory/barcode/mandatory-scan:
40+
41+
Mandatory and optional scanning
42+
-------------------------------
43+
44+
Operation types, like receipts and delivery orders, :ref:`can be configured individually
45+
<inventory/product_management/operation-type-setting>` to determine whether they require a serial or
46+
lot number to process the operation. Additionally, the *Barcode* tab of each operation type
47+
configures whether scanning the lot or serial number is mandatory. *Mandatory scan* specifies that
48+
the only way to input a required serial number or lot number is by scanning a barcode, while
49+
*optional scan* allows users to manually type in a barcode if necessary.
50+
51+
To make it mandatory to scan a barcode for serial numbers and lots, go to :menuselection:`Inventory
52+
app --> Configuration --> Operations Types` and select the operation type where barcodes should be
53+
required for serial numbers. Then, click the :guilabel:`Barcode App` tab, and in the
54+
:guilabel:`MANDATORY SCAN` section set :guilabel:`Lot/Serial` to :guilabel:`Mandatory Scan`.
55+
56+
.. image:: serial_numbers_lots/optional-scan.png
57+
:alt: Selecting 'Optional Scan' in the Receipts operation type.
58+
59+
Barcodes for products and lots
60+
==============================
61+
62+
To print a barcode for one or multiple product lot and serial numbers, go to
63+
:menuselection:`Inventory app --> Products --> Lots / Serial Numbers`. In the list view, tick the
64+
checkbox for each the product to print, click the :icon:`fa-print` :guilabel:`Print` button, and
65+
select either PDF or ZPL depending on printer setup.
66+
67+
.. image:: serial_numbers_lots/select-products-to-print.png
68+
:alt: Three selected products and a Print button showing 'Lot/Serial Number (PDF)' highlighted.
69+
70+
Operations
71+
==========
72+
73+
For any product that is tracked by lot or serial number, performing an operation with barcode can be
74+
from the main **Barcode** page by tapping :guilabel:`Operations` and tapping the desired operation
75+
in the interface or scanning the barcode for specific picking order. Once the order is scanned,
76+
select the product by tapping or scanning a barcode and scan the lot or serial number for each
77+
quantity.
78+
79+
.. tip::
80+
Because vendor lot and serial number barcodes could be damaged in transit and arrive in a state
81+
that cannot be scanned, it is a good practice to :ref:`set serial number or lot scanning to
82+
optional <inventory/barcode/mandatory-scan>`. Otherwise, a broken barcode would block validation
83+
of the receipt.
84+
85+
For products that are starting out without a serial number, there are three options to manage them:
86+
manually typing in the number, generating them ahead of time, or disabling serial numbers for that
87+
operation.
88+
89+
Manually input serial and lot numbers
90+
-------------------------------------
91+
92+
For instances where there are few products or rare shipments, it may be easiest to type lot or
93+
serial numbers in at the time of receipt. After opening an existing receipt or creating a new one
94+
and scanning the product bar code, tap the :icon:`fa-pencil` :guilabel:`(pencil)` icon. Tap the
95+
:guilabel:`Serial/Lot Number` field and enter the serial number and tap :guilabel:`Confirm`.
96+
97+
.. image:: serial_numbers_lots/manual-sn-input.png
98+
:alt: Typing in a serial number.
99+
100+
Generate serial numbers before a receipt
101+
----------------------------------------
102+
103+
Lot and serial numbers can be generated from a scheduled receipt before the products arrive. This
104+
has the advantage of making it possible to print all the serial numbers with the picking order for
105+
the receipt.
106+
107+
To generate lot and serial numbers, in the **Inventory** app click :guilabel:`Receipts` and select
108+
the receipt that requires generated lot or serial numbers. In the :guilabel:`Operations` tab, find
109+
the line for the product, and click the :icon:`fa-list` :guilabel:`(list)` icon. In the
110+
:guilabel:`Open: Stock move` pop-up menu, click :guilabel:`Generate Serials/Lots`.
111+
112+
.. image:: serial_numbers_lots/serial-number-generate.png
113+
:alt: Generate serial numbers for an incoming shipment.
114+
115+
.. seealso::
116+
:ref:`Assign serial numbers <inventory/product_management/assign-sn>`
117+
118+
Disable lot and serial numbers for a receipt
119+
--------------------------------------------
120+
121+
With lot and serial numbers disabled for an operation, products that are tracked by these methods
122+
can be received without supplying a serial number or lot number. It is still possible to scan a
123+
serial number at the receipt stage, but the missing numbers will need to be :ref:`created in the
124+
Inventory app <inventory/product_management/already-in-stock>`.
125+
126+
To disable the use of serial numbers for a particular operation type, go to
127+
:menuselection:`Inventory app --> Configuration --> Operations Types` and select the operation type.
128+
In the :guilabel:`LOTS/SERIAL NUMBERS` section, untick :guilabel:`Create New` and :guilabel:`Use
129+
Existing ones`.
130+
131+
.. note::
132+
The *Create New* option will require the user to supply a serial number or lot number, either by
133+
scanning or type (if :ref:`optional scan <inventory/barcode/mandatory-scan>` is enabled), and
134+
will not :ref:`automatically generate serial numbers
135+
<inventory/product_management/generate-serials>` the way the **Inventory** app can.
Loading
Loading

0 commit comments

Comments
 (0)