Cancel & Reset Suite: Cancel Done Sales, Purchases, Deliveries, MOs, Invoices
by Viyug Infotech https://viyuginfotech.com$ย 42.73
Cancel what Odoo will not: done deliveries, posted invoices, confirmed orders
One wizard that shows the impact first, reverses stock, valuation and reconciliations correctly, refuses inside locked periods, asks for a reason and writes an audit log. Single record or a whole selection from the list.
Sales and purchaseStock and valuationInvoices and paymentsManufacturing and POSAudit log
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Mistakes happen after the document is done
Core Odoo tells you to create a return, a credit note and a new order. That is right for the books, but not for a document entered in error. This app reverses what it created, safely.
Without it
- A delivery done on the wrong order stays done
- Stock and stock value are fixed by hand with an adjustment
- An invoice paid by mistake needs a credit note and a refund
- Nobody can say who cancelled what, or why
With it
- Open the document, read the impact, pick a reason, confirm
- Quantities, lots and valuation return in the same step
- Reconciliations are undone and payments stay ready to match
- Every attempt is in the audit log with its reason
What you get
One wizard, every document
Sales and purchase orders, transfers, manufacturing orders, invoices, bills, credit notes, journal entries, payments and POS orders. Open it from the Actions menu of a form or of a list.
Impact preview
Before anything runs you see the stock that comes back per product and location, the valuation entries that are removed, the reconciliations that are undone and every document that is cascaded. The preview and the run use the same plan.
Cascade through the chain
Cancelling a sales order can also reverse its deliveries and reset its invoices and bills. Payments are unreconciled and kept, or cancelled too. Switch each part off and the app tells you what blocks.
Stock put back correctly
Quantities, lots and locations return to where they were. A receipt cannot be reversed when later moves already used the stock, and a return that was processed on top of it must be reversed first.
Valuation follows
Valuation entries of the reversed moves are removed and the cost is restored for standard, average and FIFO products, so inventory value and the stock account match the quantities again.
Cancel, reset or delete
Three modes: cancel, cancel and reset to draft, cancel and delete. Deleting is for managers only. Draft invoices and transfers of a quotation are cancelled the way the core does it.
Lock dates respected
Fiscal, hard, tax, sales and purchase lock dates refuse the action for documents inside a locked period. Lock-date exceptions you granted in accounting are honoured. Sales and purchase locks can be overridden by managers; the hard lock never.
Negative stock guard
A reversal that would drive on-hand stock below zero is refused with the product, the location and the numbers. Managers can allow it on purpose.
Reason and audit log
A reason is required, from a list you maintain or free text. Every attempt, done or refused, is logged with who, when, why and the impact, and a note is posted in the chatter of every document touched.
Batch from the list view
Select many documents and run once. Each record has its own savepoint: one that is blocked or fails does not stop the others, and one result lists the reason per record.
Reconciliation undone
Resetting an invoice or bill unreconciles its payments first. The payment stays posted, ready to be matched again, or is cancelled with it when you choose.
Roles and companies
User and Manager roles. Users act on documents they could edit anyway, managers also delete, override soft locks and see every log entry. Data is separated per company.
Works with what you have
Sales, purchase, inventory, manufacturing, accounting and point of sale are optional. Whatever is installed gets the Cancel / Reset action, with no extra modules to pick.
See it working
Fictional customers and suppliers.
From the Actions menu
Select one or many sales orders, purchase orders, transfers, invoices, payments, manufacturing orders or POS orders and open Cancel / Reset.

Impact preview of a delivered, invoiced order
The invoice with its reconciliation, the delivery with the stock that returns and the order itself, listed before anything runs.

Refused inside a locked period
A document inside a locked period is refused with the date and the lock that covers it. Nothing is changed.

Refused when stock would go negative
Reversing a receipt whose stock was already sold shows the product, the location, what is on hand and what is needed.

Done manufacturing order
Components come back, the finished product leaves, and the valuation entries are listed.

Batch from the list view
Three orders in one run, back to quotation. Each record has its own plan and its own result.

Result per record
How many were done, refused or already in the target state, with the reason for each refusal.

Audit log
Every attempt with document, mode, status, reason and user. Filter by type, user, reason or day.

One entry in detail
The reason, the full impact text and, for a refusal, why it was refused.

Reasons
A list of cancellation reasons that your team picks from. Managers add their own.

How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Sales, purchase, transfers, manufacturing, invoices, payments, POS in one app | Yes | Partly |
| Cancel, reset to draft and delete modes | Yes | Yes |
| Mass action from the list view | Yes | Yes |
| Cascade to deliveries, invoices and payments with choices | Yes | Partly |
| Impact preview with stock quantities and entries | Yes | Partly |
| Refuses inside fiscal, tax, sales, purchase and hard lock dates | Yes | No |
| Refuses a reversal that makes stock negative | Yes | No |
| Blocks when later moves used the stock | Yes | No |
| Average and FIFO cost restored | Yes | Partly |
| Valuation entries removed with the move | Yes | Partly |
| Each record isolated in a batch, result report | Yes | No |
| Mandatory reason with a managed list | Yes | Partly |
| Audit log that also records refusals | Yes | No |
| Chatter note on every document touched | Yes | Partly |
| User and manager roles | Yes | Partly |
Questions
Does it work on Odoo Community?
Yes. It needs only Discuss. Sales, purchase, inventory, manufacturing, accounting and point of sale are used when they are installed.
What happens to the stock when I cancel a done delivery?
The quantities, lots and locations of the move lines return, the stock moves leave the done state and, with valuation on, their journal entries are removed and the cost is restored.
Can I cancel a receipt that was already sold?
Not by default. The preview shows how much is missing. A manager can allow negative stock for that run, or you reverse the later delivery first.
What about invoices that were paid?
The reconciliation is undone and the invoice is reset or cancelled. The payment stays posted and available to match again, or you tick to cancel the payments as well.
Which dates are checked?
Fiscal, hard, tax, sales and purchase lock dates. Exceptions granted to a user in accounting are respected. The hard lock date is never overridden.
Can a salesperson use it?
Only with the User role, and only on documents they can edit. Deleting, overriding sales and purchase locks and allowing negative stock need the Manager role.
A POS order of a closed session?
It is refused: the order is part of the session entry. Cancel the order while the session is open, or create a refund.
Is every attempt recorded?
Yes. Done and refused attempts are in the audit log with the impact, and the chatter of each touched document gets a note.
Is it multi-company?
Yes. Documents of another company must be opened in that company, and log entries follow the company.
Need help or a change?
Questions, a document type you need covered, or a rule that does not match your process? Use the Contact Vendor button on this page or write to us.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
Cancel, reset to draft and delete for sales and purchase orders, transfers, manufacturing orders, invoices, payments and POS orders, with impact preview, lock-date and negative-stock guards, reasons and audit log.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 985 |
| Technical Name |
cancel_reset_suite |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
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