Odoo Server Date time Format

DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT

Mustufa Rangwala
If you want to pass date or datetime in default value, do not use direct sysntax like time.strftime('%m-%d-%Y') but we should use:
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT
date_order = time.strftime(DEFAULT_SERVER_DATE_FORMAT)