diff options
| author | William Henrotin <whe@odoo.com> | 2019-10-16 14:14:41 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-17 12:17:49 +0000 |
| commit | b86bc6e979355412297194c952dc5cb2bb2f61e0 (patch) | |
| tree | b9c90cc21c18e216a861091c13c42ecc2a0831c5 /doc/reference/javascript_reference.rst | |
| parent | 32caafd5bdf0503dd66a05c92372550d1a0d5722 (diff) | |
[FIX] mrp: cancelling and validating impact on planning
The commit 0679d0d introduced a new
planning mechanism for the workorder. Two issues have been instroduced
since this patch.
1. Cancelling a workorder didn't free the time slot in the workcenter
calendar
2. Validation a workorder sooner than the planned date didn't update
the workcenter calendar to plan another production sooner.
This commit update the date_planned_start and date_planned_finished
at cancellation and validation to impact the workcenters calendar.
To keep the original planning dates, they are now tracked
This commit also fix the button_start() method that always rewrited the
date_start even if the production had already been started.
Task : 2082442
closes odoo/odoo#38947
X-original-commit: 4ca6c773a00320865142e4efb3645f36c54ce9a2
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
