Port project_issue_department to v8

Should be merged after https://github.com/OCA/department/pull/6.