treat empty strings as 'false' except for char fields bzr revid: xmo@openerp.com-20111116100416-0713i9va49ffbzlh