Changed the type of fields.date_order on purchase.order object from date...

... to datetime