POS Order Delete - Delete POS Paid Order, Clear Cart, Remove Order Line, Swipe to Delete
by Modvanta https://modvantaapps.tech/odoo-apps/pos-order-delete/$ 3.99
In-App Purchases
Delete paid, posted and invoiced POS orders safely, and clear the cart in one tap
Users with the POS Delete Order Access right delete one or many POS orders from the back office, with or without a security code. The goods go back to stock, the invoice is cancelled and a copy of every deleted order is kept. On the till, remove a line with its own button, swipe it away, or Clear All.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Odoo only lets you delete a POS order while it is new or cancelled. A test sale, a duplicate or an order rung up on the wrong till stays in the list forever once it is paid.
This module adds Delete POS Order to the order form and to the order list. Before the order goes it undoes what it did: a finished delivery is returned to stock with a validated return transfer, and the invoice is cancelled (or reversed with a credit note when the journal does not allow cancelling). Then the order is deleted and a snapshot - lines, payments, totals, invoice and stock actions, who and why - is kept in Deleted Orders.
On the till, every order line gets a Remove button, a line can be swiped to the left to remove it, and Clear All in the Actions menu empties the order but keeps it (and its customer) open.
Who it is for
Shop managers Remove test sales, duplicates and wrong orders without leaving traces in stock or invoices. | Owners who want control Only users in the POS Delete Order Access group can delete, optionally only with a security code, and every deletion is logged. | Busy cashiers Take a line off the order in one tap or one swipe, or start over with Clear All. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a demo database (company Northwind Trading Co, Odoo Point of Sale demo data, the Furniture Shop till).
Feature 1
Settings per point of sale
Delete Paid Orders: not allowed, delete without code, or delete with security code. Remove Lines Quickly: Delete Button on Order Lines, Swipe Left to Delete, Clear All Button and Confirm Before Clearing.

Feature 2
Remove button on every line
Each line of the current order has a Remove button. It removes the line the same way the numpad does, combos included.

Feature 3
Clear All in the Actions menu
Clear All removes every line of the order but keeps the order open with its customer.

Feature 4
Confirm before clearing
With Confirm Before Clearing on, the cashier confirms first: Clear all lines? Every line of this order is removed. The order and its customer stay.

Feature 5
Delete one or many orders from the list
Select paid, posted or invoiced orders in Point of Sale > Orders and choose Delete POS Order in the Actions menu.

Feature 6
Delete POS Order on the order form
Users with POS Delete Order Access see a Delete POS Order button on every order that is not new.

Feature 7
Security code, stock and invoice options
The wizard asks for the security code when the point of sale requires one, and lets you choose Return Goods to Stock and Cancel the Invoice, and type a reason.

Feature 8
A wrong code is refused
Typing the wrong security code stops the deletion: Enter code is not valid.

Feature 9
Deleted Orders log
Point of Sale > Orders > Deleted Orders lists every deleted order with its receipt number, state, customer, what was done to the invoice and the stock, the reason and who deleted it.

Feature 10
Everything about the deleted order
The log keeps the order lines, payments, totals, session (and whether it was already closed), the return transfer and the credit note if one was posted.

How it works, step by step
| 1 | Give the right Add the users who may delete orders to the POS Delete Order Access group (Settings > Users). |
| 2 | Choose the mode On each Point of Sale form choose Delete without code or Delete with security code, and set the code. |
| 3 | Delete Open an order (or select several in the list) and click Delete POS Order. Type the code and a reason, keep or untick the stock and invoice options, and confirm. |
| 4 | Check the log The deleted orders, with what was undone, are in Point of Sale > Orders > Deleted Orders. |
| 5 | On the till Tap Remove on a line, swipe a line to the left, or use Actions > Clear All. |
Settings
Point of Sale > Configuration > Point of Sales > open a point of sale.
| Delete Paid Orders | Not allowed / Delete without code (default) / Delete with security code. |
| Delete Security Code | The code typed in the delete wizard, visible to POS managers only. |
| Delete Button on Order Lines | On by default. A Remove button on each line of the current order. |
| Swipe Left to Delete | On by default. Swipe a line to the left on a touch screen to remove it. |
| Clear All Button | On by default. Clear All in the Actions menu of the till. |
| Confirm Before Clearing | On by default. Ask before Clear All empties the order. |
| POS Delete Order Access | User group (Settings > Users) that may delete POS orders. |
Frequently asked questions
What happens to the stock of a deleted order?
A finished delivery is returned to stock with a validated return transfer, and an unfinished one is cancelled. Untick Return Goods to Stock to leave the stock as it is.
And to its invoice?
It is cancelled. When the journal does not allow it (for example a locked journal), a credit note is posted instead. Untick Cancel the Invoice to keep it.
Can I delete orders of a closed session?
Yes. The journal entry of a closed session covers all its orders and is not changed; the log marks the order as coming from a closed session.
Who can delete orders?
Only users in the POS Delete Order Access group, and only on points of sale where deleting is allowed.
Does Clear All delete the order?
No. It removes the lines and keeps the order open, with its customer. Core Cancel Order is still there if you want to drop the order itself.
Compatibility
Odoo 19 Community and Enterprise | Depends on Point of Sale, Invoicing, Inventory | Tested 16 automated tests |
Clean up wrong POS orders without breaking stock or invoices
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Lifetime module updates for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Point of Sale (point_of_sale) • Discuss (mail) |
| Lines of code | 536 |
| Technical Name |
mdv_pos_order_delete |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/pos-order-delete/ |
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