purchase_unreconciled
Enables purchase orders to detect outstanding journal items and reconcile them with configurable write-offs.
Key Features
- purchase.order: Computes an unreconciled flag and residual amount by scanning related posted journal items on real-time stock input accounts.
- purchase.order: Adds stat buttons for accounting managers to open unreconciled journal items or launch the reconciliation process directly from the order.
- purchase.order: Validates company write-off settings and groups related move lines to reconcile or auto-create write-offs when requested.
- purchase.order: Intercepts the lock action to auto-reconcile when policy requires it and raises a tolerance warning wizard if residual amounts exceed the allowed percentage.
- purchase.order: Provides a search filter to quickly list orders with unreconciled journal items.
- res.company: Stores purchase reconciliation settings including the write-off account, journal, auto-reconcile toggle, and tolerance percentage.
- res.config.settings: Exposes the purchase reconciliation options in Accounting settings so administrators can configure them per company.
- account.move.line: Builds balanced write-off journal entries tied to the originating purchase order when reconciliation needs adjustment.
- purchase.unreconciled.exceeded.wiz: Displays the unreconciled amount warning and lets users continue with reconciliation while bypassing the tolerance block.