Odoo Community
Odoo Enterprise
Viindoo Cloud
A sales order with a transfer behind it cannot just disappear
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.
At a Glance
The facts of Delete Sales Order - Check Stock Transfer, version 0.1.1, in one place. Published by Viindoo.
Technical name
viin_sales_unlink_stock
Odoo version
17.0 (Odoo Community, Odoo Enterprise, Viindoo Cloud)
Best for
Sales administrator; Warehouse; Auditor; Administrator
Not for
It does not delete the transfer for you.
Key features
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
How It Works
One rule, at the moment it matters.
1
The deletion is refused
The message names the transfer - so the next step is obvious rather than a guess.
2
The order itself is unchanged
Quotations, confirmations and cancellations all behave exactly as before.
What You Get
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
More Screens
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
What This App Does Not Do
Read this before you buy. Everything below is something the app deliberately leaves to another app or to you.
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.
Works Well With
Apps from the same stack, built to fit this one:
Who Should Use Delete Sales Order - Check Stock Transfer?
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.
Frequently Asked Questions
What does Delete Sales Order - Check Stock Transfer do?
Deleting an order that a stock transfer still refers to is refused, with the transfer named in the message.
What does Delete Sales Order - Check Stock Transfer not do?
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.
Who is Delete Sales Order - Check Stock Transfer for?
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.
Which Odoo version and editions does it support?
Odoo 17.0 - Odoo Community, Odoo Enterprise, Viindoo Cloud. Upgrades to a newer Odoo series are a separate purchase for that series.
What does it depend on?
It installs on top of: sale_stock. Odoo installs them with it.
How do I set it up?
One rule, at the moment it matters.
What works well with it?
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.
Can I try it before buying?
Yes - the Live Preview button at the top of this page opens the module's own screen on a working database.
How do I get support?
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.
Need help with Delete Sales Order - Check Stock Transfer?
For questions, implementation support or a custom feature, contact Viindoo.
Upgrades to a newer Odoo series are a separate purchase for that series.
All Viindoo apps: apps.odoo.com/apps/modules/browse?author=Viindoo
About Viindoo. Viindoo builds and maintains more than 1,000 apps on the Odoo App Store for the Community and Enterprise editions and runs them on Viindoo Cloud. A purchase of Delete Sales Order - Check Stock Transfer covers the 17.0 series: bug fixes on the module reach you through the store, questions go to apps.support@viindoo.com with the technical name viin_sales_unlink_stock, and moving to a newer Odoo series is a separate purchase for that series. Source code is delivered with the module and stays yours to read and adapt.
Technical Requirement
Editions: Odoo Community, Odoo Enterprise, Viindoo Cloud
Changes log
0.1.1 - Latest on the 17.0 line
- The blocking transfer is named in the refusal message.
Cài đặt
- Truy cập Ứng dụng.
- Tìm từ khóa viin_sales_unlink_stock.
- Ấn Cài đặt.
Hướng dẫn sử dụng
Video hướng dẫn: Xoá Đơn Bán - Kiểm Tra Phiếu Kho
1. Kích hoạt tính năng Không cho phép xóa đơn bán có Phiếu dịch chuyển kho.
Truy cập ứng dụng Bán hàng > Cấu hình > Thiết lập, tích chọn Không cho phép xóa đơn bán có Phiếu dịch chuyển kho.
2. Không thể thực hiện xóa đơn bán nếu có liên kết đến phiếu dịch chuyển kho.
Truy cập ứng dụng Bán hàng > Tạo đơn bán và phiếu dịch chuyển kho tương ứng được tạo ra. Thực hiện xóa đơn bán này, hệ thống sẽ hiển thị cảnh báo và không xóa được đơn bán.
Phần mềm này và các tệp liên kết ("Phần mềm")
được sử dụng (chạy, tuỳ biến, chạy sau khi được tuỳ biến)
chỉ khi bạn mua được giấy phép có hiệu lực từ tác giả,
điển hình như qua các Ứng dụng Odoo, hoặc trong trường hợp
bạn nhận được thoả thuận bằng văn bản từ tác giả của Phần mềm (chi tiết tại tệp COPYRIGHT).
Bạn có thể phát triển các phân hệ Odoo có sử dụng Phần mềm như một Thư viện (thường là phụ thuộc vào, nhập vào và sử dụng nguồn của nó)
nhưng không sao chéo bất kỳ mã nguồn hay tài liệu nào thuộc Phần mềm. Bạn có thể phân phối những phân hệ này theo giấy phép
mà bạn lựa chọn, miễn sao nội dung giấy phép đó tương tích với điều khoản của Giấy phép Phần mềm Độc quyền Odoo
(ví dụ: LGPL, MIT hay bất kỳ loại giấy phép phần mềm độc quyền nào tương tự vậy).
Nghiêm cấm phát hành, phân phối, cấp phép lại hoặc bán bản sao của Phần mềm hoặc
bản sao
Phần mềm đã được sửa đổi.
Thông báo bản quyền và chấp thuận nêu trên buộc phải được bao gồm trong tất cả các bản sao hoặc các phần quan trọng của Phần mềm.
PHẦN MỀM ĐƯỢC CUNG CẤP "NGUYÊN TRẠNG", KHÔNG BẢO ĐẢM DƯỚI BẤT KỲ HÌNH THỨC NÀO, ĐƯỢC THỂ HIỆN RÕ RÀNG HOẶC NGỤ Ý, KHÔNG GIỚI HẠN
ĐẢM BẢO VỀ CÁC BẢO ĐẢM NGỤ Ý VỀ KHẢ NĂNG THƯƠNG MẠI, PHÙ HỢP VỚI MỤC ĐÍCH CỤ THỂ VÀ KHÔNG VI PHẠM.
TRONG MỌI TRƯỜNG HỢP SẼ KHÔNG CÓ TÁC GIẢ HOẶC CHỦ SỞ HỮU BẢN QUYỀN NÀO CHỊU TRÁCH NHIỆM VỀ BẤT KỲ KHIẾU NẠI,
THIỆT HẠI HOẶC TRÁCH NHIỆM PHÁP LÝ KHÁC NÀO TRONG PHẠM VI HỢP ĐỒNG, CÁC THIỆT HẠI HOẶC CÁCH KHÁC, PHÁT SINH TỪ, NGOÀI HOẶC
CÓ LIÊN KẾT VỚI PHẦN MỀM HOẶC VIỆC SỬ DỤNG HOẶC KINH DOANH KHÁC TẠI PHẦN MỀM.