Point of Sale Pro Enhancements
Stock visibility, out-of-stock control, customer isolation and POS robustness fixes
See the real stock on every product card, and stop selling what you do not have
Keep the customer list clean, set a default order customer, and fix the POS dashboard crash
Overview
Standard Odoo Point of Sale sells without looking at the shelf: the cashier cannot see the stock on the product card, an item with zero quantity stays sellable, and the customer list loads every contact in the database. This module adds what a shop floor actually needs, and every rule is a switch on the POS configuration, so a shop that does not maintain stock keeps selling as before.
It also carries a robustness fix: a closed session with an empty closing date used to raise "'bool' object has no attribute 'astimezone'" and made the whole POS configuration list and POS dashboard unusable. Everything is built by inheritance; the core point_of_sale source is not touched.
Complete Feature List
-
1. Stock quantity on every POS product card
A small badge on the tile shows what is left, only for storable products -
2. Quantity on hand or forecasted quantity
Choose the stock figure per POS configuration -
3. Stock read from the shop's own warehouse
Quantities use the warehouse of the POS operation type, not the company total -
4. Out-of-stock products blocked from the sale
Refused when the remaining quantity reaches your threshold, with a message you write -
5. The check counts what the terminal already sold
Quantities in the orders still waiting to be synced are subtracted first -
6. Or hide out-of-stock products instead
Remove them from the product screen rather than refusing them one click at a time -
7. Every stock rule is opt-in per POS
Selling without stock limits stays the default, so an unmaintained stock ledger does not empty the screen -
8. POS customer isolation
Flag contacts as Point of Sale customer and load only those in the POS customer list -
9. Historic orders keep their customer
Partners already linked to a POS order stay loadable, plus a POS Customers menu and filter -
10. Default customer on every new POS order
Applied in the offline interface and on the server when the order is created -
11. Separate from the core Default Customer
The core field is only used for the session closing entry; this one is the order partner -
12. Unique code on POS product categories
A searchable ref for imports, barcodes and external systems, uniqueness validated on archived records too -
13. Quantity totals on POS orders
A total column on the POS order list and a sum under the order lines -
14. Search POS orders by the product of their lines
One search field finds every order that sold a given product -
15. Refund Orders menu with a guard
A dedicated list of refunds and returns; refunding an order that is already negative is refused -
16. Fix: empty closing date no longer breaks the POS pages
A closed session without stop_at used to raise an astimezone error on the POS config list and dashboard -
17. Built by inheritance only
Model _inherit, XPath views and OWL patches; upgrading Odoo does not overwrite your core -
18. Multi-language support, multi-company support
Each POS configuration keeps its own stock rules, customers and default partner
Key Highlights
What you get that standard Odoo does not give you
1. Stock Where You Sell
Quantity badge on the product tile
The cashier sees the remaining quantity before clicking the product, taken from the warehouse behind that POS. No second screen, no stock app open next to the register.
2. Nothing Sold Twice
Blocking respects the open orders
The remaining quantity is reduced by what the terminal already put in orders that have not synced yet, so two customers cannot be sold the last piece. The message shown to the cashier is your own text.
3. Block or Hide, You Choose
Two separate switches
Refuse an out-of-stock product when it is clicked, or drop it from the product screen entirely. Both stay off by default, so a shop that has never maintained stock levels is not disrupted on the install day.
4. A Customer List You Control
is_pos flag on contacts
Mark the walk-in customers of the shop and show only them in the POS. Partners already on an order stay reachable, so reopening an old ticket still works.
5. Default Order Customer
Offline interface and database
Every new order starts with the customer you set, so reports, loyalty and price lists work without the cashier remembering to pick a partner. The server fills it too, for orders created by any other path.
6. The Dashboard Stops Crashing
Empty closing date handled
One closed session with no stop_at value made the POS configuration list and the POS dashboard fail with an astimezone error for every manager. The date is now computed with an empty guard, and the dirty row itself is no longer a problem.
General Features
Multi-Language & Multi-Company
Built for Global Teams
Interface strings are translatable and every rule is stored per POS configuration, so each company and each shop keeps its own settings.
Inheritance Only
Core Point of Sale Untouched
Models use _inherit, views use XPath and the POS interface uses OWL patches and template extensions, so the core source stays as Odoo ships it.
Retail Ready
Odoo 20, Enterprise and Community
Works on Community and Enterprise, on your own server, on odoo.sh and on any hosting that allows custom modules. Stock features activate as soon as inventory is installed.
How It Works
Step One
Install the module on a database that has Point of Sale
Step Two
Open the POS configuration and switch on stock display, blocking, hiding or customer isolation
Step Three
Tick Point of Sale customer on the contacts you serve, and set the default order customer
Step Four
Start the session: cards show the stock, out-of-stock items are refused or hidden, orders carry the default customer
Supported & Dependent Modules
- point_of_sale
- app_base
- app_partner_labels
- stock / pos_stock (optional, activate the quantity features)
odooai.cn
Professional Odoo Solutions: Development, Implementation, Consulting & Training
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Invoicing (account) • Discuss (mail) • Purchase (purchase) • Contacts (contacts) |
| Community Apps Dependencies | Show |
| Lines of code | 9938 |
| Technical Name |
app_pos_pro |
| License | OPL-1 |
| Website | https://www.odooai.cn |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module