Delete Sales Order - Check Stock Transfer
by Viindoo
$ 5.60
$ 5.60
v
17.0
0
Deleting an order that a stock transfer still refers to is refused, with the transfer named in the message.
Delete Sales Order - Check Stock Transfer (technical name viin_sales_unlink_stock) is an Odoo 17.0 app for Odoo Community and Odoo Enterprise and Viindoo Cloud, built for sales administrator, warehouse, auditor, administrator.
The facts of Delete Sales Order - Check Stock Transfer, version 0.1.1, in one place. Published by Viindoo.
One rule, at the moment it matters.
The message names the transfer - so the next step is obvious rather than a guess.
Quotations, confirmations and cancellations all behave exactly as before.
Deleting an order referred to by a transfer is refused
The blocking transfer is named in the message
Applies to cancelled orders, where Odoo would otherwise allow it
No configuration - the rule is always on
Nothing changes about creating, confirming or cancelling orders
The audit trail from goods to order stays intact
Everything below was taken on a database seeded with real business data, on this series - not a mock-up and not a screenshot from an older version.
A cancelled order with its transfer
Read this before you buy. Everything below is something the app deliberately leaves to another app or to you.
Removing a stock document is a warehouse decision, not a side effect.
Cancelling stays available; only deletion is guarded.
Cleaning old orders is your process - this keeps it from breaking references.
Other references follow their own modules' rules.
Apps from the same stack, built to fit this one:
Is told why the order cannot go, and what to clear first.
Keeps transfers that point at an order that still exists.
Follows a delivery back to its order without dead ends.
Stops housekeeping scripts from silently breaking references.
Deleting an order that a stock transfer still refers to is refused, with the transfer named in the message.
It does not delete the transfer for you. Removing a stock document is a warehouse decision, not a side effect. It does not stop cancellation. Cancelling stays available; only deletion is guarded. It is not an archive policy. Cleaning old orders is your process - this keeps it from breaking references. Only stock transfers are checked. Other references follow their own modules' rules.
Sales administrator: Is told why the order cannot go, and what to clear first. Warehouse: Keeps transfers that point at an order that still exists. Auditor: Follows a delivery back to its order without dead ends. Administrator: Stops housekeeping scripts from silently breaking references.
Odoo 17.0 - Odoo Community, Odoo Enterprise, Viindoo Cloud. Upgrades to a newer Odoo series are a separate purchase for that series.
It installs on top of: sale_stock. Odoo installs them with it.
One rule, at the moment it matters.
Sales Deletion Rules (viin_sales_unlink): The wider set of deletion guards on sales. Sales Backdate (to_sale_backdate): Recording orders on the date they were agreed. Stock & Journal Links (to_stock_account_moves_link): Keeping the trail on the accounting side too.
Yes - the Live Preview button at the top of this page opens the module's own screen on a working database.
Write to apps.support@viindoo.com with your Odoo version and the technical name viin_sales_unlink_stock; pre-sales questions go to sales@viindoo.com.
A sales order with a transfer behind it cannot just disappear
For questions, implementation support, or consulting services, contact Viindoo.
When contacting us, please include:
For faster troubleshooting, please provide:
Upgrades to a newer Odoo series are a separate purchase for that series.
Instruction video: Delete Sales Order - Check Stock Transfer
1. Activate the Disallow to unlink SO having Stock Transfers feature.
Navigate to the Sales app > Configuration > Settings, enable Disallow to unlink SO having Stock Transfers.
2. Sale orders cannot be deleted if there is a link to the stock transfer slip.
Navigate to the Sales app > Create a sales order then the corresponding stock transfer slip is generated. When you delete this sales order, a warning will be displayed, stopping the deletion.
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.
We use cookies to provide you a better user experience on this website. Cookie Policy