diff options
| author | amoyaux <arm@odoo.com> | 2017-08-07 15:24:16 +0200 |
|---|---|---|
| committer | amoyaux <arm@odoo.com> | 2017-08-07 16:13:13 +0200 |
| commit | 01429dc29b221fdb1a5022033794504aa54d70b1 (patch) | |
| tree | 14ac71705a5fe22af86991ab336ad7906f9f4348 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 4ea8af066cd44d1ce80382aedbad0144d8753097 (diff) | |
[FIX] mrp : Unbuild manually and with lot
Since refactoring in saas-17 quant_ids are removed and
the logic is instead locate on stock_move_line. This commit
adapt the method by trying to undo the created move_line
during the MO.
This commit also add a default_uom_id in the view's context in order
to remove a traceback. Since 0469d2e
uom is mandatory on stock_move_line.
It also add a bunch of tests in order to check the behavior of unbuild
with 4 test: without tracking, consumed product tracking, produced product
tracking and everything tracking.
Know limitation of this commit:
-> No warning message when unbuild more than in stock.
-> Wrong result if trying to unbuild twice the same MO
with consumed product tracked with different lot/SN
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
