Fix bug on invoice extrafield type date