odoo/odoo#221380

Created by Youssef Abdelmoneim (abyo)

Blocked

label
odoo-dev:master-promised-date-abyo
head
5862f833ff02de6101b63e1d7d53e16a64ba392a
odoo/odoo odoo/enterprise odoo/upgrade
master #221380 ready #93478 #8687 missing r+

[IMP] purchase, sale, stock: update dates logic/UX

To avoid confusion after confirming an RFQ:
- New field has been added 'Promised Date' in Purchase Order and Purchase Order Line.
- 'Promised Date' updates the deadline on a receipt.
- 'Promised Date' only shows after confirming an RFQ, taking the place of 'Confirmation Date'.
- Confirmation Date was moved to 'Other information' section.
- Updating "Expected Arrival" on PO or PO line updates the date scheduled on a receipt and no longer updates the deadline.
- Updated "Expected Arrival" help message to adapt to the change.
- Dates in Receipts and POs are linked, changing POL expected arrival should propagate
to stock move scheduled date (and the other way around), and promised date propagates to deadlines.

In Sales Order:
- 'Delivery Date' now uses a dynamic placeholder giving it a cleaner look.
- On Confirmation, if no date is set it will be assigned to the placeholder's value and 'Delivery Date' label is changed to 'Promised Delivery'.
- Some UI Changes.

task-4687135


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr