diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-06-22 10:06:06 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-06-22 13:32:35 +0000 |
| commit | d40cef681e52ac6a57c5cfed26dedb8057989a31 (patch) | |
| tree | f736e68e4ce1dd6c09d006c4fa5599469bf960fd /addons/website/data | |
| parent | 221ee7d5b23536499498f1a1d3cc384e8781d6fe (diff) | |
[FIX] stock_account: quant currency
- Create 2 companies A & B, with different currencies
- Create a product in company B
Set the company on the product
Automated valuation
- Receive some stock in company B
- Switch to company A, and keep B available
- Go to Inventory > Reporting > Inventory Report
The currency on the product is the currency of the product company
instead of the currency of the current company.
The value is computed in the current company currency:
https://github.com/odoo/odoo/blob/bc3d1f2dc408fa91d42743d6a7063042e0f6c42b/addons/stock_account/models/product.py#L115
The currency should be consistent.
opw-2278751
closes odoo/odoo#53426
X-original-commit: 8aa952d18acca5a0ac3b32579e812158e641c13c
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/website/data')
0 files changed, 0 insertions, 0 deletions
