[fix] fixed problem in format function when using a type of date widget different than the type of field
[fix] fixed problem in format function when using a type of date widget different than the type of field

gisce/openerp-web,vnc-biz/openerp-web,vnc-biz/openerp-web,splbio/openerp-web,MarkusTeufelberger/openerp-web,splbio/openerp-web,gisce/openerp-web,splbio/openerp-web,gisce/openerp-web,MarkusTeufelberger/openerp-web,vnc-biz/openerp-web,vnc-biz/openerp-web,MarkusTeufelberger/openerp-web