diff options
| author | Josse Colpaert <jco@odoo.com> | 2018-06-21 13:52:47 +0200 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2018-06-25 15:38:23 +0200 |
| commit | 70ddff760ff23e960028dbc2cacc630da5b185fc (patch) | |
| tree | ac295e5733809768125d601e4791b34b9e37fdf6 /addons/web/static/src/js/fields | |
| parent | d4582cf020f2c00baec8bc1d5335878c0a32612a (diff) | |
[FIX] stock: when creating a procurement from a stock move, pass the date_expected as date
Before, when we created a picking manually with MTO+buy products,
put a scheduled date in the future and did "mark as todo", the
date on the po was related to now instead of that schedule date.
The scheduled date of the picking was passed to the date_expected
of the move, but not to the date of the move, which was passed to
the date_planned of the created procurement. By passing the
date_expected instead of the date of the stock_move to the
date_planned of the procurement, the po will have dates in function
of the scheduled date of the picking.
Courtesy of chienandalu. Closes #25223
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
