Cash Flow
liquidity
LIQUIDITY
20
bal[][('account_type', '=', 'asset_cash'), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]
in_total
IN TOTAL
30
in_receivable + in_forecast
in_receivable
In receivable
50
bal[][ ('account_type', '=', 'asset_receivable'), ('full_reconcile_id', '=', False), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]
in_forecast
In forecast
70
bal[][('line_type', '=', 'forecast_line'), ('debit', '!=', 0.0), ('account_id.hide_in_cash_flow', '=', False)]
out_total
OUT TOTAL
80
out_payable + out_forecast
out_payable
Out payable
100
bal[][ ('account_type', '=', 'liability_payable'), ('full_reconcile_id', '=', False), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]
out_forecast
Out forecast
120
bal[][('line_type', '=', 'forecast_line'), ('credit', '!=', 0.0), ('account_id.hide_in_cash_flow', '=', False)]
period_balance
PERIOD BALANCE
130
in_total + out_total
'Cash Flow - Good' if period_balance >= 0.0 else 'Cash Flow - Bad'
balance
BALANCE
150
bale[][('account_id.hide_in_cash_flow', '=', False), '|', ('line_type', '=', 'forecast_line'), ('line_type', '=', 'move_line'), '|', ('account_type', '=', 'asset_cash'), ('account_type', 'in', ('asset_receivable', 'liability_payable')), ('full_reconcile_id', '=', False)]
'Cash Flow - Good' if balance >= 0.0 else 'Cash Flow - Bad'