Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 122 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 7.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
LGPL-3
Combined: AGPL-3
Folder size
0.03 MB
Module directory on disk
Code analysis 17 migration notes 6 models 8 views 0 HTTP endpoints

Description

Budget CRM

This module depends on the OCA module "budget", not on the Odoo core account_budget module.

It provides a link in the drop down menu of the Opportunities to generate automatically budget lines from them.

The information used to generate the budget lines is found as follows:

  • The active Budget Version is the one selected in the Company
  • The number of lines to generate comes from the Months field of the Opportunity
  • The amount of every line is the expected revenue of the Opportunity, divided by the number of months
  • The first line starts on the 1st of the month after the Expected Date of the Opportunity and ends on the last day of the month
  • The other lines start end end in the following months
  • The name comes from the name of the opportunity, with also the year and month.
  • The Analytic Account comes from the Lead, where by default it comes from the Sales Team
  • The Budget Item comes from the Lead, where by default it comes from the Stage.
  • The Currency comes from the current Budget Version (in the Company)

The generated Budget Lines are linked to the Opportunity and can be seen in the new Budget tab. They can coexist vith existing budget lines in the same Version.

The next time the synchronization is run, the budget lines previously linked to the Opportunity are deleted. Existing lines are not affected.

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 8

XML IDNameModelTypeStatus
budget_line_form budget.line form Inherits budget.view_budget_line_form
company_form res.company form Inherits base.view_company_form
crm_case_kanban_view_oppor_curr Opportunities crm.lead kanban Inherits crm.crm_case_kanban_view_leads
crm_case_tree_view_oppor_curr Opportunities Tree crm.lead tree Inherits crm.crm_case_tree_view_oppor
crm_to_budget_wizard_form crm.to.budget.wizard form New
opportunity_form crm.lead form Inherits crm.crm_case_form_view_oppor
stage_form crm.case.stage form Inherits crm.crm_case_stage_form
team_form crm.case.section form Inherits crm.crm_case_section_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, cr, uid, ids, vals, context=None)
    Get the budget item from the stage. The clickable progressbar does not run on_change, apparently.

New fields (0)

No new fields.

Public methods (1)
  • do_compute(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…