[FIX] website_sale: check that date_order is set before comparing it
[FIX] website_sale: check that date_order is set before comparing it

closes odoo/odoo#28668
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo