Repository
OCA/crm · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/crm
Last tracking update
2026-08-07 09:06:23
Authors
Vauxoo, Odoo Community Association (OCA), Camptocamp SA
Maintainers
Vauxoo, Odoo Community Association (OCA), Camptocamp SA
Committers
Quoc - Pham Ngoc, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

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…