c91797a41d17d58629c0e421f7d2da2e70a14bec
To reproduce ============ Have two companies with different currencies, Create a lead in the first compnay => the expected revenue has the company's currency Create a lead in the second company => the expected revenue doesn't have the currency Purpose ======= in v15 the `company_id` has became computed, but the compute method in some scenarios doesn't set the `company_id`. `company_currency` is related to `company_id`, so when `company_id` is not set `company_currency` is also not set which occures this issue. Specification ============= To solve the issue, the field `company_currency` is computed now, and we give it the value of the active company if `company_id` is not set. opw-2862410 closes odoo/odoo#95484 X-original-commit: de59391caede72624fddcb01ba3565884c4e5574 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%