Skip to content
Health
61/100
fair
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 33 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 7 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.1 MB
Module directory on disk
Code analysis 2 migration notes 2 models 4 views 0 HTTP endpoints

Description

This module allows to define accounting budgets.

These budgets can then be used in MIS Builder reports, as an alternate source.

The difference between the MIS Builder Budget and this module is that this module defines budgets irrespective of the MIS Builder Template. The budget is thus agnostic of the reporting format.

For example, the budgeted data can be used in a general Profit & Loss report and at the same time can be used in a department or project expenses report.

Dependencies

Odoo dependencies
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 4

XML IDNameModelTypeStatus
account_move_budget_form_view account.move.budget.form account.move.budget form New
account_move_budget_search_view account.move.budget.search account.move.budget search New
account_move_budget_tree_view account.move.budget.tree account.move.budget tree New
view_account_move_budget_line_tree Account Move Budget Line tree account.move.budget.line tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (8)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • date_from Date
    required=True string='From Date' tracking=True
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date range'
  • date_to Date
    required=True string='To Date' tracking=True
  • description Char
    tracking=True
  • line_ids One2many → account.move.budget.line
    comodel_name='account.move.budget.line' copy=True inverse_name='budget_id'
  • name Char
    required=True tracking=True
  • state Selection
    default='draft' required=True tracking=True args: [('draft', 'Draft'), ('confirmed', 'Confirmed'), ('cancelled', 'Cancelled')]
Public methods (4)
  • action_cancel(self)
  • action_confirm(self)
  • action_draft(self)
  • copy(self, default=None)
    @api.returns('self', <expr>)

New fields (11)
  • account_id Many2one → account.account
    default=<expr> domain=[('deprecated', '=', False)] index=True ondelete='cascade' required=True string='Account' args: 'account.account'
  • analytic_account_id Many2one → account.analytic.account
    string='Analytic Account' args: 'account.analytic.account'
  • balance Monetary
    compute='_compute_store_balance' currency_field='company_currency_id' help='Technical field holding the debit - credit in order to open meaningful graph views from reports' store=True
  • budget_id Many2one → account.move.budget
    comodel_name='account.move.budget' index=True ondelete='cascade' required=True string='Budget'
  • company_currency_id Many2one → res.currency
    help='Utility field to express amount currency' readonly=True related='company_id.currency_id' store=True string='Company Currency' args: 'res.currency'
  • company_id Many2one → res.company
    readonly=True related='account_id.company_id' store=True string='Company' args: 'res.company'
  • credit Monetary
    currency_field='company_currency_id' default=0.0
  • date Date
    index=True required=True
  • debit Monetary
    currency_field='company_currency_id' default=0.0
  • name Char
    string='Label'
  • partner_id Many2one → res.partner
    ondelete='restrict' string='Partner' args: 'res.partner'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…