Cancel Done Transfers: cancel delivery, cancel picking, reverse stock moves, audit log
by Aerya IT Solutions https://aerya.net$ 32.87
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Cancel Done Transfers: cancel delivery, cancel picking, reverse stock moves, audit log
Someone validated 100 kilos of salt instead of 10. In a standard database a done transfer can only be returned, which leaves two transfers and a wrong history. This module cancels the transfer itself: it writes the reversing moves for you, the stock and its valuation go back to what they were, the transfer shows as cancelled, and the audit log keeps who did it and why.
Quantities, lots and valuation go back where they were
A reason, a lock date and an audit entry nobody can edit
Preview first; refused when the goods moved on or a bill depends on them
The screenshots use a fictitious food wholesaler with invented suppliers, customers and products.
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.
in Odoo 19
no warnings
no direct quant or valuation writes
One button, one preview
On a done transfer, Cancel Done Transfer opens a preview with the document, the partner, the date it was done and the number of moves to reverse.
Choose a reason, add a note, confirm. Nothing moves before you do.

Several at once, one by one
Select transfers in the list and run Cancel done transfers: every line says whether it can be cancelled and, if not, why.
Lines are processed one by one: one that fails leaves that document untouched and does not stop the others.

It refuses what would break stock
If the goods are no longer where the transfer put them, because they were delivered, consumed, moved on or reserved for another transfer, the message names the product, the lot or serial number, the location and the missing quantity.
A vendor bill or customer invoice that depends on the received or delivered quantity stops it too.

The transfer tells what happened
The cancelled transfer shows its new state, a banner with the reversing transfer, a filter and a smart button to the audit entry. Purchase and sales orders follow: received and delivered quantities are updated.
The original moves stay in the movement history next to the reversing ones: the history never loses a line.

An audit trail nobody can edit
One entry per cancellation: document, reason, note, user, date, the reversing moves and the new transfer when you asked for one. Entries can be read, never changed or deleted.
The chatter of the document gets a note as well.

Who may, and until when
Two groups: one cancels a document at a time, the manager also cancels in bulk, edits the reasons and reads every entry.
A company lock date and an optional window in days stop the cancellation of old documents.

More screenshots
Screenshots of Odoo 19 Enterprise. Click an image to enlarge it.

One audit entry with its reversing moves

The list of reasons, edited by managers
Everything included
Quantities and lots
Lots, serial numbers, packages and owners come back exactly: the reversing move copies each line.
Valuation
The reversing moves go through the normal stock valuation, so the entries of automated valuation are reversed too.
Redo in one click
Optionally create a new transfer with the same products, linked to the same order, ready to process again.
Several companies
Reasons, lock date and entries follow the company.
Your language
English, Spanish and Romanian are included.
Safe by default
Reversal transfers cannot be cancelled again; invoices and bills are never changed behind your back.
How it works
Install the module and add people to the group Cancel done documents.
Open a done transfer and press Cancel Done Transfer, or select several in the list.
Read the preview, choose a reason and confirm.
Find it later in Inventory, Reporting, Cancelled After Done.
Compatibility
| Versions | Odoo 17, 18, 19 and 20 |
| Editions | Community and Enterprise |
| Modules | Inventory and its valuation (stock_account) |
| Add-ons | Manufacturing orders and purchase orders (two separate add-ons) |
| Languages | English, Spanish, Romanian |
What it does not do
Stops with a message naming the case when the document is not done, is already cancelled, is a reversal, was done on or before the lock date, when the goods are no longer in the location or are reserved, when a landed cost is posted, or when an invoice or bill depends on the quantity.
Invoices and bills are never changed: cancel or credit them first. Quality checks, expiry dates and scraps linked to the transfer are not touched, and neither is the point of sale. With average or FIFO costing, goods taken out again are valued at the method's cost.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 19, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 1077 |
| Technical Name |
aerya_cancel_done |
| License | OPL-1 |
| Website | https://aerya.net |
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