Skip to content

Commit c74725a

Browse files
slinkousFelicious
andcommitted
[ADD] barcode: operations and commands barcode printing
closes #13544 X-original-commit: 8ff28d6 Signed-off-by: Zaz Linkous (stul) <[email protected]> Co-authored-by: Felicious <[email protected]>
1 parent b374d2d commit c74725a

File tree

8 files changed

+217
-0
lines changed

8 files changed

+217
-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
@@ -12,3 +12,4 @@ Setup
1212
setup/hardware
1313
setup/software
1414
setup/serial_numbers_lots
15+
setup/operation_types
Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
============================
2+
Operation types and commands
3+
============================
4+
5+
Inventory operations, like :doc:`receipts and delivery orders
6+
<../../inventory/shipping_receiving/daily_operations/receipts_delivery_one_step>`, as well as
7+
commands, like validating a transfer or putting products in packages, can be performed by scanning
8+
barcodes through the **Barcode** app. This allows employees to handle tasks and access menus without
9+
the need to touch a screen or use the **Inventory** app on a computer, and allows workflow
10+
streamlining by putting operation barcodes in the appropriate physical location.
11+
12+
.. image:: operation_types/barcode-default-operations.png
13+
:alt: Printable barcodes for Receipts, Delivery Orders, and Manufacturing.
14+
15+
.. _inventory/barcode/configure_operations:
16+
17+
Configuring operations
18+
======================
19+
20+
*Operation types* in the **Inventory** and **Barcode** apps define actions that will change the
21+
state of products in inventory. Which operation types are available to print will depend on the
22+
settings of the database. By default, barcodes can be printed for *Receipts (WHIN)*, *Delivery
23+
Orders (WHOUT)*, and *Manufacturing (WHMANUF)*. The *Internal Transfers (WHINT)* and *Pick (WHPICK)*
24+
operations can also be enabled.
25+
26+
.. note::
27+
Both *Internal Transfers (WHINT)* and *Pick (WHPICK)* operations require :doc:`location barcodes
28+
<software>` to scan.
29+
30+
Internal transfers
31+
------------------
32+
33+
The *Internal Transfers (WHINT)* operation barcode is available if the database is using the
34+
*Storage Locations* feature to designate where products are located in the inventory. To enable this
35+
setting, go to :menuselection:`Inventory app --> Configuration --> Settings`, then, in the
36+
:guilabel:`Warehouse` section, tick the :guilabel:`Storage Locations` option.
37+
38+
Picking
39+
-------
40+
41+
The *Pick (WHPICK)* operation barcode is available if the database is using the *Multi-Step Routes*
42+
feature configured with a picking step. To enable this setting, go to :menuselection:`Inventory app
43+
--> Configuration --> Settings`, then, in the :guilabel:`Warehouse` section, tick the
44+
:guilabel:`Multi-Step Routes` option and save. From there, click :icon:`fa-arrow-right`
45+
:guilabel:`Set Warehouse Routes` to open warehouse settings and select the warehouse. In the
46+
:guilabel:`Outgoing Shipments` section, select either :guilabel:`Pick then Deliver (2 steps)` or
47+
:guilabel:`Pick, Pack, then Deliver (3 steps)`.
48+
49+
.. seealso::
50+
- :doc:`Two-step receipt and delivery
51+
<../../inventory/shipping_receiving/daily_operations/receipts_delivery_two_steps>`
52+
- :doc:`Three-step delivery
53+
<../../inventory/shipping_receiving/daily_operations/delivery_three_steps>`
54+
55+
Print barcodes for inventory commands and operations
56+
====================================================
57+
58+
Barcodes for operations and commands can be printed at any time. These documents will include all
59+
the available inventory commands, regardless of whether they are enabled, but only the operations
60+
that are currently enabled in the database. See :ref:`configuring operations
61+
<inventory/barcode/configure_operations>` to enable any missing operations.
62+
63+
.. example::
64+
The `print_inventory_commands_and_operation_types` document will always show the
65+
:guilabel:`PUT IN PACK` command, regardless of whether the *Packages* feature is enabled, but the
66+
*Pick (WHPICK)* operation will only be added if *Multi-Step Routes* are configured to have a
67+
picking step.
68+
69+
.. important::
70+
Printing barcodes, by default, will either directly download a PDF file of the selected barcodes
71+
or open a new tab with a downloadable or printable PDF. To turn this into a direct printing
72+
operation, :doc:`connect a printer <../../../general/iot/devices/printer>`.
73+
74+
When first opening Barcode
75+
--------------------------
76+
77+
When first opening the **Barcode** app, there is a prompt with options to print barcodes for
78+
commands and operations, as well as some sample barcodes to print and use for testing. Clicking
79+
these links is the easiest way to print command and operation barcodes, but will no longer be
80+
displayed after the first time it is clicked.
81+
82+
.. image:: operation_types/barcode-initial-print-prompt.png
83+
:alt: A prompt to print demo data or barcodes for operations.
84+
85+
From Inventory settings
86+
-----------------------
87+
88+
If the barcode print prompt is not available, inventory commands and operation types barcodes can
89+
always be printed from the *Settings* page. Go to :menuselection:`Inventory app --> Configuration
90+
--> Settings` and in the :guilabel:`Barcode` section under the :guilabel:`Barcode Scanner` setting,
91+
click :icon:`fa-print` :guilabel:`Print barcode commands and operation types`.
92+
93+
.. image:: operation_types/print-operations-and-commands.png
94+
:alt: Link to print inventory operations and commands.
95+
96+
Individual operations
97+
---------------------
98+
99+
Barcodes for individual operations, like receipts and manufacturing orders, can also be printed from
100+
the *Operations Types* configuration menu. To select operations to print, go to
101+
:menuselection:`Inventory app --> Configuration --> Operations Types` and tick the box by each
102+
operation type required.
103+
104+
.. image:: operation_types/barcode-print-operations.png
105+
:alt: Available operations selected making a 'Print' button appear.
106+
107+
Next, click the :icon:`fa-print` :guilabel:`Print` button and select either :guilabel:`Operation
108+
type (PDF)` to download a PDF with the operation barcodes, or :guilabel:`Operation type (ZPL)` to
109+
send the print job to a :ref:`ZPL-enabled printer <iot/link-printer>`.
110+
111+
.. note::
112+
The :icon:`fa-print` :guilabel:`Print` button does not appear until at least one operation type
113+
is selected.
114+
115+
.. _inventory/barcode/print_order:
116+
117+
Print picking operations for specific orders
118+
============================================
119+
120+
Receipts, manufacturing orders, transfers, and delivery orders can all be printed in advance and are
121+
referred to in the print options menu as *picking operations* or *picking*.
122+
123+
In Barcode
124+
----------
125+
126+
From the **Barcode** app, tap the :guilabel:`Operations` button, select the operation type, and then
127+
the specific order to print. From there, either scan the `PRINT PICKING OPERATION` barcode if there
128+
is one available, or tap the :icon:`fa-cog` :guilabel:`(gear)` icon to open the **Barcode** actions
129+
menu and tap the :guilabel:`Print Picking Operation` button.
130+
131+
.. image:: operation_types/print-picking-barcode-cog.png
132+
:alt: Menu from a receipt with the 'Print Picking Operation' button.
133+
134+
In Inventory
135+
------------
136+
137+
To print a picking from the **Inventory** app, click the appropriate operation type (*Receipt*,
138+
*Delivery Order*, etc.) and select the individual order or the operation.
139+
140+
From the order, click the :icon:`fa-cog` :guilabel:`(Actions)` icon, hover over :icon:`fa-print`
141+
:guilabel:`Print`, and click :guilabel:`Picking Operations`.
142+
143+
.. note::
144+
The type of operation can be inferred from the operation reference to help distinguish picking
145+
operations. For example, the "IN" in `WH/IN/00012` indicates that it is a receipt operation.
146+
These references are similar to, but do not exactly match the operation type barcodes.
147+
148+
Use barcodes for inventory operations and commands
149+
==================================================
150+
151+
Operations
152+
----------
153+
154+
- **Receipts** `WHIN` creates a new order to receive products into inventory.
155+
156+
.. warning::
157+
Scanning a barcode for a receipt will always create a *new* instance of that operation, and
158+
will not match an already scheduled order. To scan or a specific scheduled receipt, first
159+
:ref:`print a picking for the individual receipt <inventory/barcode/print_order>`.
160+
161+
For example, scanning **Receipts** `WHIN` will create a brand new receipt, even if the
162+
contents match an existing receipt exactly.
163+
164+
- **Delivery Orders** `WHOUT` opens the currently scheduled delivery orders.
165+
- **Manufacturing** `WHMANUF` creates a new manufacturing order. Scanning a product barcode from
166+
here will add it to the *Producing* list.
167+
- **Internal Transfers** `WHINT` creates a new transfer order. :doc:`Location barcodes <software>`
168+
can be scanned to designate the source and destination, or scanned direction to initiate a
169+
transfer in **Barcode**.
170+
- **Pick** `WHPICK` creates a new picking operation. This will *require* a :doc:`location barcode
171+
<software>` for the source location.
172+
173+
Commands
174+
--------
175+
176+
- `MAIN MENU`: Scan to return to the main menu from an inventory adjustment.
177+
- `VALIDATE`: Scan to confirm that an operation is correct and ready to be completed.
178+
- `CANCEL`: Scan from an operation to prevent that operation from being validated and set its status
179+
to *Cancelled*.
180+
- `PRINT PICKING OPERATION`: Scan from an existing delivery order, transfer, or receipt to generate
181+
a PDF with the name and barcode for that operation's reference number. This can be scanned later
182+
to go directly to the operation.
183+
- `PRINT DELIVERY SLIP`: Scan from an existing receipt or delivery order to generate a PDF of the
184+
purchase order or delivery order. This will not include a barcode.
185+
- `PUT IN PACK`: After scanning products, this command will designate them as all being in one
186+
:doc:`package <../../inventory/product_management/configure/package>`. Products scanned *after*
187+
this command are placed in a new package if the `PUT IN PACK` command is scanned again.
188+
- `SCRAP`: Scan this to mark a scanned product as defective, and move it to a virtual location for
189+
:doc:`scrap inventory <../../inventory/warehouses_storage/inventory_management/scrap_inventory>`
190+
191+
Print barcodes for manufacturing commands
192+
=========================================
193+
194+
By default, the :guilabel:`Manufacturing` operation type can scan products and components and tap a
195+
*Produce* button to produce them. To print barcodes for basic manufacturing operations, go to
196+
:menuselection:`Manufacturing app --> Configuration --> Settings`, then, in the
197+
:guilabel:`Operations` section, make sure the :guilabel:`Barcode Scanner` box is ticked and click
198+
:icon:`fa-print` :guilabel:`Print barcode commands and operation types`.
199+
200+
Work order commands
201+
-------------------
202+
203+
To enable more granular control of the manufacturing process through **Barcode**, enable the
204+
:doc:`Work Orders <../../manufacturing/basic_setup/bill_configuration>` feature. To print barcodes
205+
for work orders, go to :menuselection:`Manufacturing app --> Configuration --> Settings`, then, in
206+
the :guilabel:`Operations` section, make sure the :guilabel:`Work Orders` box is ticked and click
207+
:icon:`fa-print` :guilabel:`Print barcode commands`.
208+
209+
.. image:: operation_types/print-work-order-commands.png
210+
:alt: 'Print barcode commands' like in the Work Orders section of Manufacturing settings.
211+
212+
.. seealso::
213+
- `Odoo Tutorials: Process and Cancel MOs Using Barcodes
214+
<https://www.youtube.com/watch?v=6zBz93AIXBo>`_
215+
- `Odoo Tutorials: Consuming Components Using Barcodes
216+
<https://www.youtube.com/watch?v=2ojxIbTq41Q>`_

0 commit comments

Comments
 (0)