[FIX] stock: production lot as no longer a company_id field
[MERGE] forward port of branch saas-5 up to c86f217
[MERGE] forward port of branch 8.0 up to 1e6b7a5
[IMP] hr modules: needaction, subtypes and department-based improvements.

This commit prepares some cleaning in various hr-related modules that are
about to land in master. There are mainly improvements on subtypes. The
subtypes are now linked to department subtypes, allowing to follow some records
based on the department (like project/task/issue).
[imp]mail: when mouse over on like button tooltip show users name who liked message