Xoá Đơn Bán - Kiểm Tra Hoá Đơn Liên Quan
bởi Viindoo
$ 5,55
$ 5,55
v
17.0
0
Deleting a sale order that still has an invoice behind it is refused - so the invoice never points at a document that no longer exists.
Delete Sales Order - Check Related Invoice (technical name viin_sales_unlink) is an Odoo 17.0 app for Odoo Community and Odoo Enterprise and Viindoo Cloud, built for sales administrator, accountant, auditor, administrator.
The facts of Delete Sales Order - Check Related Invoice, version 0.1.1, in one place. Published by Viindoo.
One rule, at the moment it matters.
The order stays, and the invoice keeps its source document.
Nothing else changes about quotations, orders or invoicing.
Deleting an order with a related invoice is refused
Applies to cancelled orders, where Odoo would allow it
The message explains what is holding the order
Order lines are protected the same way
No configuration - the rule is always on
Cancelling, crediting and archiving are unaffected
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.
An invoiced order
Read this before you buy. Everything below is something the app deliberately leaves to another app or to you.
Removing accounting documents is a different, deliberate decision.
Cancelling stays available; only deletion is guarded.
Cleaning old data is your process; this keeps it from breaking references.
Transfers are guarded by the inventory companion module.
Apps from the same stack, built to fit this one:
Is stopped before breaking a link, not afterwards.
Keeps invoices that point at orders that exist.
Follows revenue back to the order that produced it.
Stops a cleanup script from destroying references.
Deleting a sale order that still has an invoice behind it is refused - so the invoice never points at a document that no longer exists.
It does not delete invoices. Removing accounting documents is a different, deliberate decision. It does not block cancellation. Cancelling stays available; only deletion is guarded. It is not an archiving policy. Cleaning old data is your process; this keeps it from breaking references. Other references have their own rules. Transfers are guarded by the inventory companion module.
Sales administrator: Is stopped before breaking a link, not afterwards. Accountant: Keeps invoices that point at orders that exist. Auditor: Follows revenue back to the order that produced it. Administrator: Stops a cleanup script from destroying 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. Odoo installs them with it.
One rule, at the moment it matters.
Order Deletion and Transfers (viin_sales_unlink_stock): The same guard for stock transfers. Legal Invoice Number (to_legal_invoice_number): Keeping invoice identity correct. Sales figures (viin_sale): The analysis that depends on those links.
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; pre-sales questions go to sales@viindoo.com.
An invoiced order does not get deleted
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.
Video hướng dẫn: Xoá Đơn Bán - Kiểm Tra Hoá Đơn Liên Quan
Cho phép kích hoạt tính năng Không cho phép xóa đơn bán/dòng đơn bán đã xuất Hóa đơn tại thiết lập của phân hệ Bán hàng.
Sau khi kích hoạt tính năng, người dùng sẽ không thể thực hiện xóa đơn bán hoặc dòng chi tiết của đơn bán đã có hóa đơn tham chiếu tới.
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.
Chúng tôi sử dụng cookie để cung cấp cho bạn trải nghiệm người dùng tốt hơn trên trang web này. Chính sách cookie