Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 12.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.04 MB
Module directory on disk
Code analysis 0 migration notes 1 model 2 views 0 HTTP endpoints

Description

This module allows to select a specific currency for a lead or an opportunity. If the selected currency is different to the company currency, an amount in the customer currency can be set and the expected revenue of the opportunity will automatically be computed in the company currency. The default rate used for the computation is the rate of the day.

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 2

XML IDNameModelTypeStatus
crm_case_kanban_view_leads crm.lead.kanban.lead crm.lead kanban Inherits crm.crm_case_kanban_view_leads
crm_lead_view_form crm.lead.form crm.lead form Inherits crm.crm_lead_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (3)
  • amount_customer_currency Monetary
    currency_field='customer_currency_id' string='Customer amount'
  • customer_currency_id Many2one → res.currency
    comodel_name='res.currency' default=<expr> string='Customer currency'
  • is_same_currency Boolean
    compute='_compute_is_same_currency' string='Same currency'
Public methods (1)
  • get_revenue_in_company_currency(self)
    Compute the expected revenue in the company currency. If the customer currency is different than the company currency, the expected revenue is computed in the company currency.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…