POS Session Live Cash Balance (Separated Opening/Closing)
Live expected cash balance with separated opening/closing lines + live POS widget
What this module does
This addon provides a live view of your POS session cash status by computing: cash sales, cash in/out movements, net cash, non-cash sales, and the live expected cash balance (drawer). It also adds a small live widget in the POS Product Screen that refreshes automatically.
Key features
- Live POS widget (Product Screen): Net Cash (Sales + In/Out) and Bank/Non-Cash Sales
- Auto refresh every ~10 seconds (and on screen mount)
- Session form totals: Cash Sales, Cash In, Cash Out, Net Cash, Non-cash Sales, Net Total, Live Expected Cash
- Separated Opening/Closing statement lines using keywords (English + Arabic)
- Improved cash in/out detection: ignores statement lines linked to POS payments/orders
How it works
- Cash vs non-cash is detected from POS payment methods (
is_cash_count). - Cash in/out is derived from bank statement lines that are not linked to sales.
- Opening/Closing lines are classified by common keywords (supports Arabic terms as well).
Where you will see it
- POS screen: a small widget above the products list showing live totals
- POS Session (form/tree): income/expense/net breakdown and live expected cash
Compatibility
- Odoo: 17.0
- Dependencies:
point_of_sale, account
Tip: If your opening/closing statement lines use different wording, update the keyword lists in
_classify_statement_line to match your references.
Need help or customization? Contact support at hibba.salim@hotmail.com.
Please log in to comment on this module