[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] project : move all fields planned_hours, effective_hours, total_hours, progress_rate and etc for project.project and project.task in project
    [IMP] project_issue : move fields progress for project.issue in project_issue_sheet with all dependancy.
    [IMP] project_issue_sheet : add dependancy module project_timesheet.
[IMP] project : project_task_work object remove all.
[IMP] project : improve methods and remove write method.
[IMP] project : improve _hours_get method and define proper ids for methods.
[IMP] project_timesheet : remove yml test case and add related fields.
[IMP] project : set group for related model.
[IMP] project_timesheet : change query, remove domain and improve code.
[IMP] project_timesheet: minor improvement.