summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/data_export.js
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2019-01-04 11:05:26 +0000
committerWilliam Henrotin <whe@odoo.com>2019-02-01 08:13:25 +0000
commit356175230d71e5993b5fc5124170d970f878d875 (patch)
treea6d7b56a3f93e7297befafaa258de514bc4a28d4 /addons/web/static/src/js/widgets/data_export.js
parent24f05151f48bb111225fc63b79c1fa4740878b2c (diff)
[IMP] stock, mrp: hook on ml to reservate
Currently _action_assign will try to add new reservation to existing move lines. With mrp it could be problematic with the following usecase: - 2 product A in stock - Create a MO for 2 final product tracked and consuming 4 products A - Reserve -> It will create a ml with 2 product A. - Product -> It will fill the ml with 2 quantity done for first lot - Add 2 product A in stock (4 in total) - Reserve -> It will increase the reservation on the existing move line. It's a problem since the new produce (wizard or wo) will create a new move line because the existing move line have a lot_produce_id and can't be used for a different lot/SN anymore. This commit only increase reservation if the move line has not been used in order to create a lot.
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
0 files changed, 0 insertions, 0 deletions