diff options
| author | Josse Colpaert <jco@odoo.com> | 2017-01-17 11:34:43 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2017-01-19 16:21:27 +0100 |
| commit | c453358c885eddf0bfef0d345aaefcc590474305 (patch) | |
| tree | 17d756bc09baeba21b04879292da99699cd14e5d /addons/web/static/lib/bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less | |
| parent | 640de0d22e343909a79592c7153a21ccd00ed61a (diff) | |
[FIX] mrp: intermediate post inventory during a MO
When posting inventory during a manufacturing order,
all raw material and finished product moves are used,
also those done from a previous post inventory.
This is no problem for the moving of quants because
a filtering is done in the move_validate method,
but it is a problem for the price calculation in
mrp_account and for linking the consumed/produced_quant_ids
of the quants of the raw and finished moves.
Before this fix, it would calculate already consumed materials
a second time in the price of the finished products and would
link quants produced with previously consumed quants (and vice versa)
when doing a second post inventory.
We add a test to show the issue.
Diffstat (limited to 'addons/web/static/lib/bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less')
0 files changed, 0 insertions, 0 deletions
