When the user removes the readonly from the field date order and tries to modify it it crashes in some cases, this commit fix this opw-2523508 closes odoo/odoo#70969 X-original-commit: 3e4a541277828ec9cd0bd97587c6d87dc91ccf08 Signed-off-by: Achraf <abz-odoo@users.noreply.github.com>