diff options
| author | Arnold Moyaux <arm@odoo.com> | 2017-12-15 13:19:04 +0100 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2017-12-18 11:46:21 +0100 |
| commit | 1f860fea38eee32046882c6121d887dc7c4ff33e (patch) | |
| tree | 285a7e3a04daa86bb297300849c04c37bb667845 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 08bf52f5dbb35d9d9ac64f47310a60e0565f158c (diff) | |
[FIX] mrp: generate move_line with same lot
Usecase to reproduce:
- Set a product with the same lot in different locations
- Create a MO that will uses theses products and that require more than one location
- Produce it.
-> Traceback Expected singleton: stock.move.line
It happens because product produce only expect one move line
by lot. Howeever it could exist more than one move line if the
product for a specific lot are shared among multiple under location.
This commit try to fill the move line with the correct quantity
one by one and add the extra in a new move line.
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
