Skip to content

Commit cab1c01

Browse files
committed
[IMP] pos: basic and advanced rights for employees
task-3371578 closes #12999 X-original-commit: 1dc7b76 Signed-off-by: Loredana Perazzo (lrpz) <[email protected]>
1 parent ab3f208 commit cab1c01

File tree

9 files changed

+140
-50
lines changed

9 files changed

+140
-50
lines changed

content/applications/sales/point_of_sale.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,36 @@ the **POS dashboard**.
175175
- To look at all your previous sessions, go to :menuselection:`Point of Sale --> Orders -->
176176
Sessions`.
177177

178+
.. _pos/analytics:
179+
180+
Analytics
181+
=========
182+
183+
Once you :ref:`close and post the POS session <pos/session-close>`, access the comprehensive report
184+
to review all session activities, including who initiated the session and who handled specific
185+
orders. To access the session's report:
186+
187+
#. Click :icon:`fa-ellipsis-v` (:guilabel:`vertical ellipsis`) on the POS card.
188+
#. Click :guilabel:`Sessions` under the :guilabel:`View` section.
189+
#. From that list view, you can see all the sessions and who initiated them under the
190+
:guilabel:`Opened By` column.
191+
#. Select a POS session to open a detailed session report.
192+
#. Click the :guilabel:`Orders` smart button to display a list of all orders placed during that
193+
session.
194+
#. From that view, you can retrieve the following information:
195+
196+
- The :guilabel:`Order Ref`
197+
- The :guilabel:`Date` of the order.
198+
- The :guilabel:`Point of Sale` where that order was made.
199+
- The :guilabel:`Receipt Number`.
200+
- The :guilabel:`Customer`.
201+
- The :guilabel:`Employee` that placed this order.
202+
- The :guilabel:`Total` paid amount.
203+
- The order :guilabel:`Status`.
204+
205+
To get an overview of all orders, regardless of the session, click the vertical ellipsis button
206+
(:guilabel:``) on the POS card and select :guilabel:`Orders` from the :guilabel:`View` section.
207+
178208
.. toctree::
179209
:titlesonly:
180210

content/applications/sales/point_of_sale/employee_login.rst

Lines changed: 108 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,74 +2,134 @@
22
Multi-employee management
33
=========================
44

5-
Odoo Point of Sale allows you to manage access to a specific POS by enabling the **Multi Employees
6-
per Session** feature. When activated, :ref:`you can select which users can log into the POS
7-
<employee_login/use>` and :ref:`keep track of the employees involved in each order
8-
<employee_login/analytics>`.
5+
Odoo Point of Sale (POS) offers a **Log in with Employees** feature, allowing multiple users to
6+
:ref:`log into a POS session <pos/employee_login/use>`. Activating this feature enables the
7+
following actions:
98

10-
.. _employee_login/configuration:
9+
- Select specific users who can :ref:`log into the POS <pos/employee_login/use>`.
10+
- :ref:`Assign basic or advanced permissions <pos/employee_login/configuration>` to these users.
11+
- :ref:`Track the employees involved in each order for enhanced analytics <pos/analytics>`.
12+
13+
.. _pos/employee_login/configuration:
1114

1215
Configuration
1316
=============
1417

15-
:ref:`Access the POS settings <configuration/settings>` and select your POS, or click the vertical
16-
ellipsis button (:guilabel:``) on a POS card and click :guilabel:`Edit`. Then, enable
17-
:guilabel:`Multi Employees per Session`, and add the allowed employees in the :guilabel:`Allowed
18-
Employees` field.
18+
Access the multi-employee setting from the :guilabel:`PoS Interface` section of the :ref:`POS
19+
settings <configuration/settings>`. Then,
20+
21+
#. Activate the :guilabel:`Log in with Employees` feature.
22+
#. Add the employees with **basic POS functionality** access in the :guilabel:`Basic rights` field.
23+
#. Add the employees with **extended POS functionalities** in the :guilabel:`Advanced rights` field.
1924

20-
.. image:: employee_login/setting.png
25+
.. image:: employee_login/activate-setting.png
2126
:alt: setting to enable multiple cashiers in POS
2227

23-
.. _employee_login/use:
28+
.. note::
29+
- Leaving the :guilabel:`Basic rights` field empty allows all employees to log in.
30+
- Leaving the :guilabel:`Advanced rights` field empty grants extended rights to Odoo users only.
31+
32+
.. tip::
33+
Click the :icon:`fa-ellipsis-v` (:guilabel:`vertical ellipsis`) button on the top right corner of
34+
a POS card and :guilabel:`Edit` to access the setting from the main POS dashboard.
35+
36+
.. seealso::
37+
:doc:`../../general/users/access_rights`
38+
39+
.. tabs::
40+
.. tab:: Basic rights
41+
42+
Employees with basic rights can perform the following actions within the POS:
43+
44+
**Session management:**
45+
46+
- :ref:`Open a POS session <pos/session-start>`.
47+
- :ref:`Perform cash-in and cash-out operations <pos/cash-register>`.
48+
- Lock the current POS session.
49+
- Toggle the visibility of product and category images.
50+
51+
**Sales transactions:**
52+
53+
- :ref:`Process standard sales transactions <pos/sell>`.
54+
- :ref:`Process refunds <pos/refund>`.
55+
- :doc:`Access and handle sales orders <shop/sales_order>`.
56+
- :ref:`Set customers <pos/customers>`.
57+
- Access past and current order history.
58+
59+
**Pricing and discounts:**
60+
61+
- Manually select another :doc:`pricelist <pricing/pricelists>`.
62+
- Enter promotional codes.
63+
- :doc:`Manually apply discounts <pricing/discounts>`.
64+
- Manually :ref:`change a product's price <pos/sell>`.
65+
- Switch between :doc:`fiscal positions <pricing/fiscal_position>`.
66+
67+
.. tab:: Advanced rights
68+
69+
In addition to the basic rights, employees with advanced rights can also:
70+
71+
- Access the Odoo backend interface.
72+
- Create products.
73+
- :ref:`Close the current POS session <pos/session-close>`.
74+
75+
.. _pos/employee_login/use:
76+
77+
Usage guidelines
78+
================
79+
80+
Logging in
81+
----------
2482

25-
Practical application
26-
=====================
83+
Once the **Log in with Employees** feature is enabled, employees must log in to :ref:`open a POS
84+
session <pos/session-start>` and access the POS interface. They can :ref:`scan their employee badge
85+
<pos/employee_login/badge>`, click the :icon:`fa-users` icon (:guilabel:`users`) to select their
86+
name from the list of authorized users, or by entering :ref:`their PIN code
87+
<pos/employee_login/pin>` in the :guilabel:`Enter your PIN` field.
2788

28-
Once the feature is activated, cashiers can log in :ref:`by scanning their badge
29-
<employee_login/badge>` or selecting their name from the list of allowed employees to :ref:`open the
30-
session <pos/session-start>`.
89+
.. image:: employee_login/log-in.png
90+
:alt: Login window to open a session when the multiple cashiers feature is active
3191

32-
.. image:: employee_login/open-session.png
33-
:alt: window to open a session when the multiple cashiers feature is enabled
92+
To switch between users during an :ref:`active session <pos/session-start>`, click on the currently
93+
logged-in employee's name at the top right of the POS screen and select the user to switch to.
3494

35-
To switch to another user :ref:`from an open session <pos/session-start>`, click the employee name
36-
at the top-right of the screen and select the employee to swap with from the list.
95+
.. tip::
96+
In the absence of a scanner, click the :icon:`fa-barcode` icon (:guilabel:`barcode`) to scan
97+
barcodes using the webcam.
3798

38-
.. image:: employee_login/switch-user.png
39-
:alt: button to switch from one cashier to another.
99+
.. _pos/employee_login/badge:
40100

41-
You can also require your employees to enter a pin code every time they log into a POS to prevent
42-
them from logging in as someone else. To define the code, go to the **Employees** app, open the
43-
employee form, and click the :guilabel:`HR settings` tab. Then, enter a pin code of your choice in
44-
the :guilabel:`PIN Code` field of the :guilabel:`Attendance/Point of Sale` category.
101+
Logging in with badges
102+
----------------------
45103

46-
.. image:: employee_login/pin-and-badgeid.png
47-
:alt: setting on the employee form to assign a badge ID and a PIN code.
104+
Employees can log in using their badge. To configure badge-based login, assign a unique badge ID to
105+
the employee's profile in the **Employees** module:
48106

49-
.. _employee_login/badge:
107+
#. Navigate to the **Employees** module.
108+
#. Open the form view of the specific employee.
109+
#. Go to the :guilabel:`Settings` tab.
110+
#. The :guilabel:`Attendance/Point of Sale/Manufacturing` category offers two options:
50111

51-
Log in using badges
52-
-------------------
112+
- Manually enter any badge ID in the :guilabel:`Badge ID` field.
113+
- Click :guilabel:`Generate` to create a unique badge ID automatically.
114+
#. Click :guilabel:`Print Badge` to generate a barcode representation of the assigned badge ID.
53115

54-
For your employees to be able to log in by scanning their badge, they must have a badge ID assigned.
55-
To do so, go to the **Employees** app, open the employee form, and click the :guilabel:`HR settings`
56-
tab. Then, enter the badge ID of your choice in the :guilabel:`Badge ID` field of the
57-
:guilabel:`Attendance/Point of Sale` category or click :guilabel:`Generate`.
116+
To switch users within an open POS session using a badge, you must first lock the session. To do so,
117+
click the :icon:`fa-lg fa-lock` icon (:guilabel:`lock`) to return to the login screen. Then, the new
118+
employee can scan their badge to log in.
58119

59-
To switch to another user, lock the session by clicking the lock-shaped icon (:guilabel:`🔓`) at the
60-
top-right of the screen and scan your badge.
120+
.. _pos/employee_login/pin:
61121

62-
.. _employee_login/analytics:
122+
Adding a PIN Code
123+
-----------------
63124

64-
Analytics
65-
=========
125+
For enhanced security, employees may be forced to enter a PIN code each time they log into a POS
126+
session. To set up a PIN code for an employee:
66127

67-
Once you close and post the POS session, access the comprehensive report to review all session
68-
activities, including who initiated the session and who handled specific orders. To access the
69-
session's report, click the vertical ellipsis button (:guilabel:``) on the POS card and select
70-
:guilabel:`Sessions` from the :guilabel:`View` section. Then, select a specific session for more
71-
detailed information, and click the :guilabel:`Orders` button to view a list of all orders placed
72-
during that session.
128+
#. Navigate to the **Employees** module.
129+
#. Open the form view of the relevant employee.
130+
#. Go to the :guilabel:`Settings` tab.
131+
#. Enter a desired numerical code in the :guilabel:`PIN Code` field of the
132+
:guilabel:`Attendance/Point of Sale/Manufacturing` category.
73133

74-
To get an overview of all orders, regardless of the session, click the vertical ellipsis button
75-
(:guilabel:``) on the POS card and select :guilabel:`Orders` from the :guilabel:`View` section.
134+
.. note::
135+
The PIN code must consist of a sequence of digits only.
6.73 KB
Loading
3.91 KB
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

content/applications/sales/point_of_sale/shop/barcode.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ Log employees
5858
-------------
5959

6060
You can also use a barcode scanner to log your employees. To do so, :ref:`restrict access
61-
<employee_login/configuration>` to the POS and :ref:`use barcodes to log your employees in
62-
<employee_login/badge>` your POS.
61+
<pos/employee_login/configuration>` to the POS and :ref:`use barcodes to log your employees in
62+
<pos/employee_login/badge>` your POS.

0 commit comments

Comments
 (0)