| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 176 |
| Technical Name |
ii_pos_discount_pin |
| License | LGPL-3 |
| Website | https://ishan-incubator.odoo.com/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 176 |
| Technical Name |
ii_pos_discount_pin |
| License | LGPL-3 |
| Website | https://ishan-incubator.odoo.com/ |
POS Discount PIN
This module adds an extra security layer on top of Odoo POS global discounts. When a cashier tries to apply a discount above a configured percentage, a PIN code is required before the discount is applied.
Key Features
- Discount threshold control – Configure the maximum global discount % allowed without authorization for each POS.
- PIN-based approval – Require a manager PIN whenever cashiers exceed the allowed discount percentage.
- Secure PIN entry in POS – PIN is entered in a masked password-style popup in the POS UI.
- PIN masked in configuration – Discount PIN is stored as a password field in the POS configuration.
-
Native integration – Works with Odoo’s
point_of_saleandpos_discountmodules.
How It Works
1. Configure Global Discount & PIN
-
Enable the Order Discounts feature from the
pos_discountmodule. -
On each POS configuration, set:
- Require PIN for High Discounts
- Max Discount % Without PIN (e.g. 10%)
- Discount PIN Code – shown as a password field in POS config.
2. Use in the POS UI
- Cashier clicks the Discount button in the POS.
- If the requested discount is ≤ Max Discount % Without PIN, it is applied directly.
- If the requested discount is > Max Discount % Without PIN, a password-style PIN popup is shown.
- Only users who know the PIN can confirm and apply the higher discount. Invalid PIN attempts are rejected and the discount is not applied.
Screenshots
POS Configuration – High Discount PIN Settings
POS – Applying Global Discount
POS – PIN Authorization Flow
Support & Notes
This module has been tested only on a standard Odoo demo database with the default POS configuration. If your database already contains custom developments or third‑party POS modules, there may be conflicts that require additional adaptations.
We do not provide free support for integration issues or change requests. For paid support or customizations, please email us at ishanincubator@gmail.com and attach valid proof of purchase.
Please log in to comment on this module