pos_employee_role/README.md

43 lines
1.6 KiB
Markdown

# POS Employee Role for Odoo 19
This custom Odoo module extends the Point of Sale application to allow managing employee roles when using the "Log in with Employees" feature.
## Features
It adds a **POS Role** selector to the Employee profile under the `HR Settings -> Attendance/Point of Sale` tab.
The module provides four distinct roles to restrict UI elements:
1. **Server** (formerly Waiter/Server):
- Can only take orders.
- **Cannot** access the Payment screen.
- **Cannot** issue Refunds.
- **Cannot** Print Reports or Close the Register.
- **Cannot** access the Odoo Backend.
2. **Cashier**:
- Can take orders and process payments.
- **Cannot** issue Refunds.
- **Cannot** Print Reports.
- **Cannot** access the Odoo Backend.
3. **Outlet Manager**:
- Has full access to order management.
- **Can** issue Refunds.
- **Can** Print Reports and Close the Register.
- **Can** access the Odoo Backend.
4. **Area Manager**:
- Has all access (same as Outlet Manager).
## Installation
1. Ensure the `point_of_sale` and `pos_hr` modules are installed.
2. Place the `pos_employee_role` directory into your Odoo custom addons directory.
3. Update the App List and install the "POS Employee Role" module.
## Configuration
1. Go to **Employees** -> Select an Employee.
2. Navigate to the **HR Settings** tab.
3. Under the **Attendance/Point of Sale** section, select the desired **POS Role**.
4. Ensure the employee has a **PIN Code** assigned for POS Login.
5. In your POS configuration, make sure the employee is added to the "Employees with access" list.
## Dependencies
- `point_of_sale`
- `pos_hr`