Fix: Date was lost if error during submit.
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop