[FIX] mrp: use working calendar when editing wo planned dates
[FIX] mrp: use working calendar when editing wo planned dates

- Go to Manufacturing > Configuration and activate Work Orders
- Create a Product (i.e. Product X) and create a Bill of Materials for it (with a Routing)
- Go to Manufacturing > Operations > Manufacturing Orders and create one for Product X
- Mark as Todo and Plan
- Go to Manufacturing > Operations > Work Orders and open the created one
- In Time Tracking tab, edit Planned Start Date or Expected Duration
The Planned End Date is computed without using the working calendar of the work center.
The working calendar should be used as it was at creation.

opw-2314555

closes odoo/odoo#56241

X-original-commit: e1f09e5b765ee5cc58aab02eed50d954a3ac8f54
Signed-off-by: Nicolas Lempereur (nle) <2907e499a003d1c3ab7944c0a40c6df46e3e3c2f@odoo.com>
Signed-off-by: Anh Thao PHAM <978258c9117eb7cf15e67ad62c0f3a9a639c7208@users.noreply.github.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo