[FIX] web: date autocompletion should not harcode 'date'

But should use date or datetime according to the widget type

This fix is related to 69d60465ee67969d72210a61a9e23204d037378a
Merge branch '7.0' of https://github.com/odoo/odoo into 7.0-linux64