8.0 'project_issue' fix priority field migration (onesteinbv)



Port 'project_issue' modification realized by OneStein BV. (branch onesteinbv:8.0-os)

and use `pool = RegistryManager.get(cr.dbname)` here in order to avoid deprecation warnings