Odoo Community
Odoo Enterprise
Viindoo Cloud
A payment transaction that a payment refers to cannot be deleted
Deleting a transaction still linked to a payment is refused, with both documents named - so the payment trail stays complete.
Payment Transaction - Deletion Restriction (technical name to_payment_transaction_protection) is an Odoo 17.0 app for Odoo Community and Odoo Enterprise and Viindoo Cloud, built for accountant, administrator, auditor, support.
At a Glance
The facts of Payment Transaction - Deletion Restriction, version 0.1, in one place. Published by Viindoo.
Technical name
to_payment_transaction_protection
Odoo version
17.0 (Odoo Community, Odoo Enterprise, Viindoo Cloud)
Category
Accounting/Accounting
Depends on
account_payment
Best for
Accountant; Administrator; Auditor; Support
Not for
It does not stop deleting payments.
Key features
Deleting a transaction referred to by a payment is refused, The message names the transaction and the payment, Applies to bulk deletions too, Nothing changes about how transactions are created or processed, No configuration, Payments, refunds and their states are untouched
How It Works
One rule, in one place.
1
The payments that rely on it
Each online payment points at the transaction that produced it - and that link is now protected.
2
The providers behind them
Configuration is unchanged; only deletion of a referenced transaction is refused.
What You Get
Deleting a transaction referred to by a payment is refused
The message names the transaction and the payment
Applies to bulk deletions too
Nothing changes about how transactions are created or processed
Payments, refunds and their states are untouched
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.
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 stop deleting payments.
Accounting documents have their own rules; this guards the transaction side.
Unreferenced transactions can still be deleted.
A test transaction nothing points at is not part of a trail.
It is not an archiving policy.
Housekeeping is your process - this keeps it from breaking references.
It does not change provider behaviour.
How transactions are created stays the provider's.
Works Well With
Apps from the same stack, built to fit this one:
Who Should Use Payment Transaction - Deletion Restriction?
Accountant
Keeps the provider record behind every online payment.
Administrator
Is stopped before a cleanup breaks the payment trail.
Auditor
Follows a payment to the transaction that produced it.
Support
Can still find the gateway reference weeks later.
Frequently Asked Questions
What does Payment Transaction - Deletion Restriction do?
Deleting a transaction still linked to a payment is refused, with both documents named - so the payment trail stays complete.
What does Payment Transaction - Deletion Restriction not do?
It does not stop deleting payments. Accounting documents have their own rules; this guards the transaction side. Unreferenced transactions can still be deleted. A test transaction nothing points at is not part of a trail. It is not an archiving policy. Housekeeping is your process - this keeps it from breaking references. It does not change provider behaviour. How transactions are created stays the provider's.
Who is Payment Transaction - Deletion Restriction for?
Accountant: Keeps the provider record behind every online payment. Administrator: Is stopped before a cleanup breaks the payment trail. Auditor: Follows a payment to the transaction that produced it. Support: Can still find the gateway reference weeks later.
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: account_payment. Odoo installs them with it.
What works well with it?
Payment Lines (to_account_payment): One payment split across accounts. Reconciliation Widget (viin_account_reconciliation): Matching those payments against invoices. PayPal Currencies (to_paypal_unsupported_currencies): Another rough edge in the payment layer.
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 to_payment_transaction_protection; pre-sales questions go to sales@viindoo.com.
Need help with Payment Transaction - Deletion Restriction?
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 Payment Transaction - Deletion Restriction 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 to_payment_transaction_protection, 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 - Latest on the 17.0 line
- The refusal names both the transaction and the payment holding it.
Cài đặt
- Truy cập Ứng dụng;
- Tìm từ khóa to_payment_transaction_protection;
- Bấm Cài đặt.
Hướng dẫn sử dụng
Tình huống
Giả định, khách mua hàng thanh toán qua cổng thông tin thanh toán Paypal. Khi thanh toán thành công, hệ thống sẽ tự tạo ra một giao dịch thanh toán có liên kết với hóa đơn hoặc đơn bán đã gửi cho khách. Vậy hệ thống sẽ hành xử như thế nào khi người dùng cố ý xóa giao dịch thanh toán này?
Áp dụng
Truy cập Kế toán > Cấu hình > Thanh toán > Giao dịch thanh toán để xem giao dịch được tạo tự động sau khi khách hàng thanh toán thành công.
Lúc này, hệ thống cũng tự động tạo ra một thanh toán gắn với giao dịch này.
Trên giao dịch thanh toán có liên kết với thanh toán, bạn chọn Hành động > Xóa, hệ thống sẽ hiển thị thông báo lỗi.
Lưu ý: Bật chế độ nhà phát triển để kiểm tra được các giao dịch thanh toá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.