diff options
| author | Goffin Simon <sig@odoo.com> | 2017-06-26 10:38:04 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-06-26 13:22:03 +0200 |
| commit | 51d072db444bfd2dcad18122b502a4d3a98627f4 (patch) | |
| tree | 69ac4b18569a7eeb0fc2a426bddd5e5e1eb6aeb5 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | aaadb232b23165346f068c82e824e47ea37535d1 (diff) | |
[FIX] stock_account: Invalid product price history breaks stock valuation
Steps to reproduce:
1. Create a new Stockable Product
2. Set cost price to 2.00
3. Adjust stock to 10 pcs
4. Enable developer mode
5. Go to Inventory > Reports > Inventory at Date
6. Select current time and retrieve the inventory value
Bug:
The stock valuation for the product was 0.0.
Reason:
When creating a stockable product, Odoo creates
two price history entries with the same datetime
but different cost. The stock valuation report only
takes one of them into account.
Fixes #14889
opw:747857
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
