crm
crm copied to clipboard
[15.0][IMP] crm_multicompany_reporting_currency
- Use the current company currency when summing amounts on CRM kanban.
If we use more than one currency on crm.lead, odoo will sum the expected_revenue ignoring the currency :
USD 50,00 + EUR 50,00 = USD 100,00 (odoo takes the first record on kanban view)
With this update, we will use the current_company_currency :
Company currency = BRL
(1 USD = 1.5 BRL and 1 EUR = 2 BRL)
USD 50,00 = 75,00 BRL EUR 50,00 = 100,00 BRL
We display on kanban progress bar BRL 175,00
The second commit is the same than here: https://github.com/OCA/crm/pull/642