[FIX] mail: bad test
[IMP] hr: strenghtening of write()
Merge branch 'master' of https://github.com/odoo/odoo into master-win32