diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-03-16 01:06:14 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-04-16 11:26:49 +0200 |
| commit | 704f5c9e00c5610c8ccaddcace36f4c6b84acf45 (patch) | |
| tree | 579b1024a2190ee970dbfe8c989c78e855cf6765 /addons/web/static/src/js/views/basic | |
| parent | ff07f078fa9916630dd8119a87cc9795810fb159 (diff) | |
[REF] stock_account: move's value and exceptions
Update the value on the moves when exceptions happen (unlock and edit,
negative stock).
This is a preliminary work to bring the valuation at date wizard to v11.
We also update the value on moves in the standard cost method to stay
consistent.
- `_run_fifo` now returns the used value in the negative stock case
- we simplify the `_fifo_vacuum` method so that the `remaining_value`
always represent the not yet compensated value
- we adapt the tests to reflect theses changes ; the value is not the
initial valued amount but is updated upon exceptions
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
