diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-12-16 14:49:52 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-12-26 10:01:07 +0000 |
| commit | 292971cb6c36ffa774292cd4363e17977cf73b8e (patch) | |
| tree | ccf94244a564bc5b2236bc40d451df29571dafc2 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 800f21a89476468345066c94f28e5ed2dc4d4652 (diff) | |
[FIX] stock_account: valuation multi-currency
- Set USD as company currency
- Set the EUR rate to 1.5
- Create a product A: FIFO & automated, invoicing based on delivery
- Create a pricelist in EUR
- Buy some quantity @ 100 USD
- Create a SO for 1 @ 200 EUR
- Confirm the SO, validate the picking, generate the invoice
- Post the invoice
The COGS are incorrect:
Amount Currency Debit Credit
Stock Interim (Delivered) -66.67 0.00 100.00
Expense 66.67 100.00 0.00
It should be:
Amount Currency Debit Credit
Stock Interim (Delivered) 0.00 0.00 100.00
Expense 0.00 100.00 0.00
opw-2148171
closes odoo/odoo#42381
X-original-commit: 3a6ada5e550775e84c3d8a2f720bdd45250e2880
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
