Port project_department to v8

Made the minimal changeset to make the module installable + flake8 fixing.
Also moved the Department field placement on Project an Task views.
Should be merged after https://github.com/OCA/department/pull/2.
You're right about the scope of the PR, but it's something that I have faced in the past when someone has added extra keyword arguments to the called method, getting keyword argument not valid, because the match can't be done by position.