CRM Lead Currency
crm_lead_currency · OCA/crm
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_currencyMonetarycurrency_field='customer_currency_id'string='Customer amount' -
customer_currency_idMany2one → res.currencycomodel_name='res.currency'default=<expr>string='Customer currency' -
is_same_currencyBooleancompute='_compute_is_same_currency'string='Same currency'
-
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…