Point of Sale - No Alter Bank statement lines of Pos Orders
This module extends the functionality of Point of Sale to prevent to update or delete bank statement lines, if there are related to done or invoiced orders.
This module is a fix of Odoo Core.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Prevents users from changing the amount or customer, or deleting bank statement lines that belong to Point of Sale orders already paid, done or invoiced.
This module protects the accounting entries created by the Point of Sale. When a Point of Sale order reaches the paid, done or invoiced stage, the bank statement lines generated for it become locked.
- Users can no longer delete those bank statement lines: Odoo shows an error message explaining that lines linked to paid, done or invoiced orders cannot be removed.
- Users can no longer modify the amount or the customer (partner) on those lines: any attempt is blocked with a similar error message.
- Other fields on the bank statement line are not restricted by this module; only the amount and the customer are protected.
The rule is applied automatically whenever someone tries to save a change or delete a line, so no manual setup or menu is needed. It works on the account.bank.statement.line model, which is the same screen used in Accounting for bank statements, and it relies on the link to the Point of Sale order (pos_statement_id) to know whether the order is paid, done or invoiced.
In practice, this keeps the accounting records consistent with the Point of Sale orders and avoids discrepancies between the till session and the bank statement. It is a safety fix for standard Odoo behaviour, aimed at accountants and Point of Sale managers who need the payment records to stay trustworthy.
Depends on
Models and fields (1)
- account.bank.statement.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/pos.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.