Skip to content

Conversation

@Abranes
Copy link
Member

@Abranes Abranes commented Jun 3, 2025

Standard migration to 17.0

As a suggestion, the company_id is not required in projects, so IMO when this field is empty, the employee computation doesn't need to take into account the employee company because the task is multi-company. If you agree, I can make the changes in new commit or in another PR when this it is merged.

@Abranes Abranes force-pushed the 17.0-mig-project_hr branch 3 times, most recently from 55d17f6 to 48e16bb Compare June 4, 2025 11:20
Copy link
Member

@victoralmau victoralmau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pedrobaeza and others added 24 commits June 13, 2025 09:56
Project HR
==========

This is a technical module for adding some HR information to projects and
provide technical fields with HR information:

- Employee categories at project and task level.
- Employee linked to the user assigned to a task.
- Employee categories at user level.

These fields can be used later for extra features like task scheduling or
security restrictions.

It also provides some facilities on project management:

* Limit selection of assigned users according selected employee category at
  task level.
* Limit selection of employee categories at task level depending on the
  selected categories at project level. All are shown if no categories at
  project level.

Configuration
=============

For setting employee categories at project level:

1. Go to *Project > Dashboard*.
2. Click on the 3 vertical dots for unfolding options and select "Settings".
3. Put the wanted employee categories on the field "Employee Categories".

For setting employee categories:

1. Go to *Project > Search > Tasks*.
2. Select or create a new task.
3. Put the wanted employee categories on the field "Employee categories".
4. If there's already some employee categories selected at project level, those
   will be the only selectable ones in the task.

Usage
=====

1. Go to *Project > Search > Tasks*.
2. If there's an employee category selected in the task, you will only be able
   to select those users whose employee belongs to that category.

Known issues / Roadmap
======================

* Limit project and task visibility according employee categories through
  overriding security methods (as through record rules is not possible without
  modifying existing ones).
Currently translated at 100.0% (16 of 16 strings)

Translation: project-12.0/project-12.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_hr/de/
Currently translated at 100.0% (16 of 16 strings)

Translation: project-12.0/project-12.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_hr/sl/
Currently translated at 31.2% (5 of 16 strings)

Translation: project-12.0/project-12.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_hr/hr/
[ADD] project_hr runbot

Update project_hr/__manifest__.py

Co-Authored-By: Saran @ Ecosoft <saranl@ecosoft.co.th>

[FIX] pre-commit errors
Currently translated at 100.0% (16 of 16 strings)

Translation: project-13.0/project-13.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-13-0/project-13-0-project_hr/es/
Currently translated at 100.0% (16 of 16 strings)

Translation: project-13.0/project-13.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-13-0/project-13-0-project_hr/ca/
Currently translated at 52.6% (10 of 19 strings)

Translation: project-14.0/project-14.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_hr/it/
pilarvargas-tecnativa and others added 14 commits June 13, 2025 09:56
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: project-16.0/project-16.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr/
Currently translated at 100.0% (16 of 16 strings)

Translation: project-16.0/project-16.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr/it/
Currently translated at 100.0% (16 of 16 strings)

Translation: project-16.0/project-16.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr/de/
Currently translated at 100.0% (16 of 16 strings)

Translation: project-16.0/project-16.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr/es/
Currently translated at 93.7% (15 of 16 strings)

Translation: project-16.0/project-16.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr/nl/
Currently translated at 100.0% (16 of 16 strings)

Translation: project-16.0/project-16.0-project_hr
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr/pt_BR/
@Abranes Abranes force-pushed the 17.0-mig-project_hr branch from 48e16bb to 2915687 Compare June 13, 2025 07:57
@Abranes Abranes requested a review from victoralmau June 13, 2025 08:04
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@pedrobaeza
Copy link
Member

/ocabot migration project_hr
/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-1520-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Jun 13, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 13, 2025
37 tasks
@OCA-git-bot OCA-git-bot merged commit 6298887 into OCA:17.0 Jun 13, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 496ce3d. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.