Steps to reproduce the bug: - Set the "external_layout_din5008` in the layout field - Go to any confirmed PO - Print the purchase order - Check the Order date Problem: The deadline order date is printed instead of the approved date Solution: The order date on the Purchase Order report should be the confirmation date if available, in case it's unavailable print the order deadline. FYI: https://github.com/odoo/odoo/commit/9255d3d7d9bddf52d48df0ec81ac6bdeddbfec29 opw-2857216 closes odoo/odoo#92752 X-original-commit: 0fbd1d234b8b31f8c68915dbafa3cd9e45dc55ab Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Djamel Touati (otd) <otd@odoo.com>