diff options
| author | Debauche Stéphane <std@odoo.com> | 2019-12-05 12:00:03 +0000 |
|---|---|---|
| committer | Debauche Stéphane <std@odoo.com> | 2019-12-10 16:13:28 +0000 |
| commit | 39872c93245c1566b06d08509208824815507609 (patch) | |
| tree | b5924a4b290cdadc71549c98ee940aa39c427874 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 83a5b691afec2a8201c31da4c1ec8cce506cb2d7 (diff) | |
[IMP] stock_account: change the standard price calculation for FIFO products
Before
======
If a product is FIFO, the standard price is the unit cost of the last released.
```
+ 1 product @ 10€
+ 1 product @ 15€
- 1 product
-> Actual standard price is 10€
```
After
=====
If a product is FIFO, the standard price of the ``product.product`` is the
unit cost of the next product which will be released
```
+ 1 product @ 10€
+ 1 product @ 15€
- 1 product
-> Actual standard price is 15€
```
Task #2038418
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
