Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.27 MB
Module directory on disk
Code analysis 1 migration note 6 models 11 views 0 HTTP endpoints

Description

This module allows you to have a cash flow forecast. The forecast is based on two types of date:

  • Accounting entries: uses the Due Date field instead of the accounting Date.
  • Forecast lines: manual lines created that forecast in/out cash flow moves.

It also adds:

  • Cash flow plans: a recurring template that generates a whole series of forecast lines with a single click.
  • A per-company, configurable limit on the number of forecast lines a single plan can generate at once, to avoid runaway series over very long date ranges.

Dependencies

Odoo dependencies
OCA/mis-builder:
OCA/reporting-engine:
OCA/server-ux:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 11

XML IDNameModelTypeStatus
mis_cash_flow_forecast_line_view_form mis.cash_flow.forecast_line.tree mis.cash_flow.forecast_line form New
mis_cash_flow_forecast_line_view_search mis.cash_flow.forecast_line.search mis.cash_flow.forecast_line search New
mis_cash_flow_forecast_line_view_tree mis.cash_flow.forecast_line.tree mis.cash_flow.forecast_line list New
mis_cash_flow_form_view mis.cash_flow.form mis.cash_flow form New
mis_cash_flow_plan_view_form mis.cash.flow.plan.form mis.cash.flow.plan form New
mis_cash_flow_plan_view_search mis.cash.flow.plan.search mis.cash.flow.plan search New
mis_cash_flow_plan_view_tree mis.cash.flow.plan.tree mis.cash.flow.plan list New
mis_cash_flow_search_view mis.cash_flow.search mis.cash_flow search New
mis_cash_flow_tree_view mis.cash_flow.tree mis.cash_flow list New
res_config_settings_view_form res.config.settings.view.form.inherit.mis.builder.cash.flow.extended res.config.settings form Inherits account.res_config_settings_view_form
view_account_form account.account.form account.account form Inherits account.view_account_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (1)
  • hide_in_cash_flow Boolean
    string='Hide in Cash Flow?'
Public methods (0)

No public methods.

New fields (11)
  • account_id Many2one → account.account
    required=True args: 'account.account'
  • balance Float
    required=True string='Balance / Amount'
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company'
  • date_end Date
    required=True
  • date_start Date
    default=fields.Date.context_today required=True
  • every_x_days Integer
    default=1 string='Interval (Days)'
  • forecast_line_count Integer
    compute='_compute_forecast_line_count' store=True
  • forecast_line_ids One2many → mis.cash_flow.forecast_line
    string='Generated Forecast Lines' args: 'mis.cash_flow.forecast_line', 'cash_flow_plan_id'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    args: 'res.partner'
  • periodicity Selection
    default='months' required=True args: [('days', 'Every X Days'), ('weeks', 'Weekly'), ('months', 'Monthly')]
Public methods (2)
  • action_generate_forecast_lines(self)
  • action_view_generated_forecast_lines(self)

New fields (13)
  • account_id Many2one → account.account
    comodel_name='account.account' index=True readonly=True
  • account_type Selection
    readonly=True related='account_id.account_type'
  • company_id Many2one → res.company
    comodel_name='res.company' index=True readonly=True
  • credit Float
    readonly=True
  • date Date
    index=True readonly=True
  • debit Float
    readonly=True
  • full_reconcile_id Many2one → account.full.reconcile
    index=True readonly=True string='Matching Number' args: 'account.full.reconcile'
  • line_type Selection
    index=True readonly=True args: [('forecast_line', 'Forecast Line'), ('move_line', 'Journal Item')]
  • move_line_id Many2one → account.move.line
    comodel_name='account.move.line' readonly=True string='Journal Item'
  • name Char
    readonly=True
  • parent_state Selection
    selection='_selection_parent_state'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' readonly=True
  • reconciled Boolean
    readonly=True
Public methods (2)
  • action_open_related_line(self)
  • init(self)

New fields (7)
  • account_id Many2one → account.account
    comodel_name='account.account' help='The account of the forecast line is only for informative purpose' required=True
  • balance Float
    required=True
  • cash_flow_plan_id Many2one → mis.cash.flow.plan
    index=True ondelete='cascade' string='Origin Cash Flow Plan' args: 'mis.cash.flow.plan'
  • company_id Many2one → res.company
    default=<expr> index=True required=True args: 'res.company'
  • date Date
    index=True required=True
  • name Char
    default='/' required=True
  • partner_id Many2one → res.partner
    comodel_name='res.partner'
Public methods (0)

No public methods.

New fields (1)
  • cash_flow_plan_max_forecast_lines Integer
    default=100 help="Maximum number of forecast lines a Cash Flow Plan can generate at once when using 'Generate Forecast Lines'."
Public methods (0)

No public methods.

New fields (1)
  • cash_flow_plan_max_forecast_lines Integer
    readonly=False related='company_id.cash_flow_plan_max_forecast_lines' string='Cash Flow Plan Max Forecast Lines'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…