mirror of
https://github.com/bringout/oca-workflow-process.git
synced 2026-04-19 23:12:02 +02:00
Initial commit: OCA Workflow Process packages (456 packages)
This commit is contained in:
commit
d366e42934
18799 changed files with 1284507 additions and 0 deletions
47
odoo-bringout-oca-project-project_hr/README.md
Normal file
47
odoo-bringout-oca-project-project_hr/README.md
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Project HR
|
||||
|
||||
Odoo addon: project_hr
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-project-project_hr
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- project
|
||||
- hr
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Project HR
|
||||
- **Version**: 16.0.1.0.0
|
||||
- **Category**: N/A
|
||||
- **License**: AGPL-3
|
||||
- **Installable**: False
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/project](https://github.com/OCA/project) branch 16.0, addon `project_hr`.
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original AGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Reports: doc/REPORTS.md
|
||||
- Security: doc/SECURITY.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
32
odoo-bringout-oca-project-project_hr/doc/ARCHITECTURE.md
Normal file
32
odoo-bringout-oca-project-project_hr/doc/ARCHITECTURE.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Architecture
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
U[Users] -->|HTTP| V[Views and QWeb Templates]
|
||||
V --> C[Controllers]
|
||||
V --> W[Wizards – Transient Models]
|
||||
C --> M[Models and ORM]
|
||||
W --> M
|
||||
M --> R[Reports]
|
||||
DX[Data XML] --> M
|
||||
S[Security – ACLs and Groups] -. enforces .-> M
|
||||
|
||||
subgraph Project_hr Module - project_hr
|
||||
direction LR
|
||||
M:::layer
|
||||
W:::layer
|
||||
C:::layer
|
||||
V:::layer
|
||||
R:::layer
|
||||
S:::layer
|
||||
DX:::layer
|
||||
end
|
||||
|
||||
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
|
||||
```
|
||||
|
||||
Notes
|
||||
- Views include tree/form/kanban templates and report templates.
|
||||
- Controllers provide website/portal routes when present.
|
||||
- Wizards are UI flows implemented with `models.TransientModel`.
|
||||
- Data XML loads data/demo records; Security defines groups and access.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for project_hr. Configure related models, access rights, and options as needed.
|
||||
3
odoo-bringout-oca-project-project_hr/doc/CONTROLLERS.md
Normal file
3
odoo-bringout-oca-project-project_hr/doc/CONTROLLERS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
6
odoo-bringout-oca-project-project_hr/doc/DEPENDENCIES.md
Normal file
6
odoo-bringout-oca-project-project_hr/doc/DEPENDENCIES.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- [project](../../odoo-bringout-oca-ocb-project)
|
||||
- [hr](../../odoo-bringout-oca-ocb-hr)
|
||||
4
odoo-bringout-oca-project-project_hr/doc/FAQ.md
Normal file
4
odoo-bringout-oca-project-project_hr/doc/FAQ.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# FAQ
|
||||
|
||||
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
|
||||
- Q: How to enable? A: Start server with --addon project_hr or install in UI.
|
||||
7
odoo-bringout-oca-project-project_hr/doc/INSTALL.md
Normal file
7
odoo-bringout-oca-project-project_hr/doc/INSTALL.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-project-project_hr"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-project-project_hr"
|
||||
```
|
||||
15
odoo-bringout-oca-project-project_hr/doc/MODELS.md
Normal file
15
odoo-bringout-oca-project-project_hr/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in project_hr.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class hr_employee
|
||||
class project_project
|
||||
class project_task
|
||||
class res_users
|
||||
```
|
||||
|
||||
Notes
|
||||
- Classes show model technical names; fields omitted for brevity.
|
||||
- Items listed under _inherit are extensions of existing models.
|
||||
6
odoo-bringout-oca-project-project_hr/doc/OVERVIEW.md
Normal file
6
odoo-bringout-oca-project-project_hr/doc/OVERVIEW.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: project_hr. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon project_hr
|
||||
- License: LGPL-3
|
||||
3
odoo-bringout-oca-project-project_hr/doc/REPORTS.md
Normal file
3
odoo-bringout-oca-project-project_hr/doc/REPORTS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Reports
|
||||
|
||||
This module does not define custom reports.
|
||||
8
odoo-bringout-oca-project-project_hr/doc/SECURITY.md
Normal file
8
odoo-bringout-oca-project-project_hr/doc/SECURITY.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Security
|
||||
|
||||
This module does not define custom security rules or access controls beyond Odoo defaults.
|
||||
|
||||
Default Odoo security applies:
|
||||
- Base user access through standard groups
|
||||
- Model access inherited from dependencies
|
||||
- No custom row-level security rules
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Troubleshooting
|
||||
|
||||
- Ensure Python and Odoo environment matches repo guidance.
|
||||
- Check database connectivity and logs if startup fails.
|
||||
- Validate that dependent addons listed in DEPENDENCIES.md are installed.
|
||||
7
odoo-bringout-oca-project-project_hr/doc/USAGE.md
Normal file
7
odoo-bringout-oca-project-project_hr/doc/USAGE.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Usage
|
||||
|
||||
Start Odoo including this addon (from repo root):
|
||||
|
||||
```bash
|
||||
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon project_hr
|
||||
```
|
||||
3
odoo-bringout-oca-project-project_hr/doc/WIZARDS.md
Normal file
3
odoo-bringout-oca-project-project_hr/doc/WIZARDS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
143
odoo-bringout-oca-project-project_hr/project_hr/README.rst
Normal file
143
odoo-bringout-oca-project-project_hr/project_hr/README.rst
Normal file
|
|
@ -0,0 +1,143 @@
|
|||
==========
|
||||
Project HR
|
||||
==========
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:1bdcd198e744a57c7e0c8cb01b71534a9be6e6f8bc6048b6ba9ea1a89c1617ef
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
||||
:target: https://odoo-community.org/page/development-status
|
||||
:alt: Production/Stable
|
||||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/project/tree/16.0/project_hr
|
||||
:alt: OCA/project
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr
|
||||
:alt: Translate me on Weblate
|
||||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
||||
:target: https://runboat.odoo-community.org/builds?repo=OCA/project&target_branch=16.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
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.
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
For setting employee categories at project level:
|
||||
|
||||
#. Go to *Project > Projects*.
|
||||
#. Click on the 3 vertical dots of one of the project kanban cards for
|
||||
unfolding options and select "Settings".
|
||||
#. Put the wanted employee categories on the field "Employee Categories".
|
||||
|
||||
For setting employee categories:
|
||||
|
||||
#. Go to *Project > All Tasks*.
|
||||
#. Select or create a new task.
|
||||
#. Put the wanted employee categories on the field "Employee categories".
|
||||
#. If there's already some employee categories selected at project level, those
|
||||
will be the only selectable ones in the task.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
#. Go to *Project > Search > Tasks*.
|
||||
#. 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).
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/project/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||
`feedback <https://github.com/OCA/project/issues/new?body=module:%20project_hr%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Authors
|
||||
~~~~~~~
|
||||
|
||||
* Tecnativa
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* `Tecnativa <https://www.tecnativa.com>`_:
|
||||
|
||||
* Pedro M. Baeza
|
||||
* Victor M.M. Torres
|
||||
* Ernesto Tejeda
|
||||
* Pilar Vargas
|
||||
|
||||
* `CorporateHub <https://corporatehub.eu/>`__
|
||||
|
||||
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
||||
|
||||
* Alfadil Tabar <alfadil.tabar@gmail.com>
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
||||
.. image:: https://odoo-community.org/logo.png
|
||||
:alt: Odoo Community Association
|
||||
:target: https://odoo-community.org
|
||||
|
||||
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.
|
||||
|
||||
.. |maintainer-pedrobaeza| image:: https://github.com/pedrobaeza.png?size=40px
|
||||
:target: https://github.com/pedrobaeza
|
||||
:alt: pedrobaeza
|
||||
|
||||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
||||
|
||||
|maintainer-pedrobaeza|
|
||||
|
||||
This module is part of the `OCA/project <https://github.com/OCA/project/tree/16.0/project_hr>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import models
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
"name": "Project HR",
|
||||
"summary": "Link HR with project",
|
||||
"development_status": "Production/Stable",
|
||||
"version": "16.0.1.0.0",
|
||||
"license": "AGPL-3",
|
||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/project",
|
||||
"depends": ["project", "hr"],
|
||||
"data": ["views/project_task_views.xml", "views/project_project_views.xml"],
|
||||
"maintainers": ["pedrobaeza"],
|
||||
}
|
||||
110
odoo-bringout-oca-project-project_hr/project_hr/i18n/bs.po
Normal file
110
odoo-bringout-oca-project-project_hr/project_hr/i18n/bs.po
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Dozvoljene kategorije HR"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Dozvoljeno korisnicima"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Djelatnik"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Kategorije djelatnika"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "HR Kategorije"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr "Povezani zaposleni"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Projekat"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Zadatak"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr "Korisnik"
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr "Ne možete dodeliti kategoriju koja nije dozvoljena na nivou projekta."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
133
odoo-bringout-oca-project-project_hr/project_hr/i18n/ca.po
Normal file
133
odoo-bringout-oca-project-project_hr/project_hr/i18n/ca.po
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 13.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2021-11-18 17:36+0000\n"
|
||||
"Last-Translator: pere-aquarian <pere@aquarian.tech>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: ca\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.3.2\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Categories de RRHH permeses"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Usuaris/àries permesos/es"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Empleat/da"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Categories d'empleat/da"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "Categories de RRHH"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
"Aquí pot enllaçar el projecte a vàries categories de l'empleat/da, que seran "
|
||||
"les permeses a les tasques."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
"Aquí pot seleccionar la categoria de l'empleat/da adequada per a realitzar "
|
||||
"aquesta tasca, limitant els/les usuaris/àries seleccionables per a ser "
|
||||
"assignats/ades a aquells que pertanyen a la categoria."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Projecte"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tasca"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
"Camp tècnic per a calcular les categories de l'empleat/da permeses conforme "
|
||||
"a les categories establertes a nivell de projecte."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
"Camp tècnic per a calcular els/les usuaris/àries permesos/es conforme a les "
|
||||
"categories establertes a nivell d'empleat/ada."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
"Camp tècnic per a calcular dinàmicament les categories de l'empleat/da "
|
||||
"relacionat/da a l'usuari de la companyia actual."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr ""
|
||||
"No pot assignar una categoria que no està permesa a nivell de projecte."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
"No pot assignar un/a usuari/ària que no pertany a la categoria d'empleat/ada "
|
||||
"seleccionada."
|
||||
|
||||
#~ msgid "Linked employee"
|
||||
#~ msgstr "Empleat/da relacionat/da"
|
||||
|
||||
#~ msgid "Users"
|
||||
#~ msgstr "Usuaris/àries"
|
||||
133
odoo-bringout-oca-project-project_hr/project_hr/i18n/de.po
Normal file
133
odoo-bringout-oca-project-project_hr/project_hr/i18n/de.po
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2023-06-20 11:10+0000\n"
|
||||
"Last-Translator: Nils Coenen <nils.coenen@nico-solutions.de>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Erlaubte HR Kategorien"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Erlaubte Benutzer"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Mitarbeiter"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Mitarbeiter-Kategorien"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "HR Kategorien"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
"Einem Projekt können mehrere Mitarbeiter-Kategorien zugewiesen werden. Nur "
|
||||
"diese können in Aufgaben ausgewählt werden."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
"Einer Aufgabe kann eine Mitarbeiter-Kategorie zugewiesen werden. Aufgaben "
|
||||
"dürfen dann nur Mitarbeitern dieser Kategorie zugewiesen werden."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr "Verknüpfte Mitarbeiter"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Projekt"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Aufgabe"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
"Dies ist ein technisch benötigtes Feld zur Berechnung der erlaubten "
|
||||
"Mitarbeiter-Kategorien, die auf Projektebene festgelegt wurden."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
"Dies ist ein technisch benötigtes Feld zur Berechnung der erlaubten "
|
||||
"Mitarbeiter, die zur Mitarbeiter-Kategorie gehören."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
"Dies ist ein technisch benötigtes Feld zur dynamischen Berechnung der "
|
||||
"Mitarbeiter-Kategorien, die zum Benutzer des aktuellen Unternehmens gehören."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr "Benutzer"
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr ""
|
||||
"Es darf keine Kategorie zu der Aufgabe hinzugefügt werden, die auf "
|
||||
"Projektebene nicht erlaubt wurde."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
"Der Aufgabe darf kein Benutzer zugewiesen werden, der nicht zur gewählten "
|
||||
"Mitarbeiter-Kategorie gehört."
|
||||
|
||||
#~ msgid "Linked employee"
|
||||
#~ msgstr "Zugehöriger Mitarbeiter"
|
||||
|
||||
#~ msgid "Users"
|
||||
#~ msgstr "Benutzer"
|
||||
134
odoo-bringout-oca-project-project_hr/project_hr/i18n/es.po
Normal file
134
odoo-bringout-oca-project-project_hr/project_hr/i18n/es.po
Normal file
|
|
@ -0,0 +1,134 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-11-17 16:50+0000\n"
|
||||
"PO-Revision-Date: 2023-09-03 13:36+0000\n"
|
||||
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Categorías RRHH permitidas"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Usuarios permitidos"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Empleado/a"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Categorías de empleado"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "Categorías RRHH"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
"Aquí puede enlazar el proyecto a varias categorías de empleado, que serán "
|
||||
"las permitidas en las tareas."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
"Aquí puede seleccionar la categoría de empleado adecuada para realizar esta "
|
||||
"tarea, limitando los usuarios seleccionables para ser asignados a aquellos "
|
||||
"que pertenezcan a la categoría."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr "Empleados relacionados"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Proyecto"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarea"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
"Campo técnico para calcular las categorías de empleado permitidos conforme "
|
||||
"las categorías a nivel de proyecto."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
"Campo técnico para calcular los usuarios permitidos conforme a la categoría "
|
||||
"de empleado."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
"Campo técnico para calcular dinámicamente las categorías de empleado "
|
||||
"enlazadas con el usuario en la compañía actual."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr "Usuario"
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr ""
|
||||
"No puede asignar una categoría que no está permitida a nivel de proyecto."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
"No puede asignar un usuario que no pertenezca a la categoría de empleado "
|
||||
"seleccionada."
|
||||
|
||||
#~ msgid "Linked employee"
|
||||
#~ msgstr "Empleado relacionado"
|
||||
|
||||
#~ msgid "Users"
|
||||
#~ msgstr "Usuarios"
|
||||
114
odoo-bringout-oca-project-project_hr/project_hr/i18n/hr.po
Normal file
114
odoo-bringout-oca-project-project_hr/project_hr/i18n/hr.po
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 13.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2019-12-02 16:28+0000\n"
|
||||
"Last-Translator: Bole <bole@dajmi5.com>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: hr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 3.9.1\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Dozvoljene kategorije HR"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Dozvoljeno korisnicima"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Djelatnik"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Kategorije djelatnika"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "HR Kategorije"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
141
odoo-bringout-oca-project-project_hr/project_hr/i18n/it.po
Normal file
141
odoo-bringout-oca-project-project_hr/project_hr/i18n/it.po
Normal file
|
|
@ -0,0 +1,141 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2023-05-29 12:09+0000\n"
|
||||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Categorie RU consentite"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Utenti consentiti"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Dipendente"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Categorie dipendente"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "Categorie RU"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
"Qui è possibile collegare il progetto a diverse categorie dipendenti, che "
|
||||
"verranno abilitate nei lavori."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
"Qui è possibile selezionare la categorie dipendente adeguata ad eseguire "
|
||||
"questo lavoro, limitando i dipendenti selezionabili a quelli che "
|
||||
"appartengono a quella categoria."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr "Dipendente collegato"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Progetto"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Lavoro"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
"Campo tecnico per calcolare le categorie dipendenti autorizzate in accordo "
|
||||
"con le categorie a livello progetto."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
"Campo tecnico per calcolare gli utenti abilitati in accordo alle categorie "
|
||||
"dipendenti."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
"Campo tecnico per calcolare dinamicamente le categorie dipendenti collegate "
|
||||
"agli utenti nell'azienda attuale."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr "Utente"
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr "Impossibile assegnare una categoria non consentita a livello progetto."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
"Impossibile assegnare un utente che non appartiene alla categoria dipendente "
|
||||
"selezionata."
|
||||
|
||||
#~ msgid "Display Name"
|
||||
#~ msgstr "Nome visualizzato"
|
||||
|
||||
#~ msgid "ID"
|
||||
#~ msgstr "ID"
|
||||
|
||||
#~ msgid "Last Modified on"
|
||||
#~ msgstr "Ultima modifica il"
|
||||
|
||||
#~ msgid "Linked employee"
|
||||
#~ msgstr "Dipendente collegato"
|
||||
|
||||
#~ msgid "Users"
|
||||
#~ msgstr "Utenti"
|
||||
127
odoo-bringout-oca-project-project_hr/project_hr/i18n/nl.po
Normal file
127
odoo-bringout-oca-project-project_hr/project_hr/i18n/nl.po
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2023-10-09 02:52+0000\n"
|
||||
"Last-Translator: \"Jan Tapper [Onestein]\" <j.tapper@onestein.nl>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Toegestane HR-categorieën"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Toegestane gebruikers"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Medewerker"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Categorieën van werknemers"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "HR-categorieën"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
"Hier kunt u het project koppelen aan verschillende medewerkerscategorieën, "
|
||||
"die toegestaan zijn in taken."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
"Hier kunt u de werknemerscategorie selecteren die geschikt is om deze taak "
|
||||
"uit te voeren, waardoor de selecteerbare gebruikers worden beperkt tot "
|
||||
"degenen die tot die categorie behoren."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr "Gekoppelde medewerkers"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Taak"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
"Technisch veld voor het berekenen van toegestane werknemerscategorieën "
|
||||
"volgens categorieën op projectniveau."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
"Technisch veld voor computers met toegestane gebruikers volgens "
|
||||
"werknemerscategorie."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
"Technisch veld voor het dynamisch berekenen van werknemerscategorieën die "
|
||||
"zijn gekoppeld aan de gebruiker in het huidige bedrijf."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr "Gebruiker"
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr ""
|
||||
"U kunt geen categorie toekennen die niet is toegestaan op projectniveau."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
"U kunt geen gebruiker toewijzen die niet tot de geselecteerde "
|
||||
"werknemerscategorie behoort."
|
||||
|
|
@ -0,0 +1,110 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
128
odoo-bringout-oca-project-project_hr/project_hr/i18n/pt_BR.po
Normal file
128
odoo-bringout-oca-project-project_hr/project_hr/i18n/pt_BR.po
Normal file
|
|
@ -0,0 +1,128 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2023-10-28 13:27+0000\n"
|
||||
"Last-Translator: Adriano Prado <adrianojprado@gmail.com>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.17\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Categorias de RH permitidas"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Usuários permitidos"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Funcionário"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Categorias de Funcionários"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "Categorias de RH"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
"Aqui você pode vincular o projeto a diversas categorias de funcionários, que "
|
||||
"serão permitidas nas tarefas."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
"Aqui você pode selecionar a categoria de funcionário adequada para realizar "
|
||||
"esta tarefa, limitando os usuários selecionáveis a serem atribuídos àqueles "
|
||||
"que pertencem a essa categoria."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr "Funcionários vinculados"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Projeto"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarefa"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
"Campo técnico para calcular categorias de funcionários permitidas de acordo "
|
||||
"com categorias em nível de projeto."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
"Campo técnico para calcular usuários permitidos de acordo com a categoria "
|
||||
"funcional."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
"Campo técnico para cálculo dinâmico de categorias de funcionários vinculadas "
|
||||
"ao usuário na empresa atual."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr "Usuário"
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr ""
|
||||
"Você não pode atribuir uma categoria que não seja permitida no nível do "
|
||||
"projeto."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
"Você não pode atribuir um usuário que não pertença à categoria de "
|
||||
"funcionário selecionada."
|
||||
132
odoo-bringout-oca-project-project_hr/project_hr/i18n/sl.po
Normal file
132
odoo-bringout-oca-project-project_hr/project_hr/i18n/sl.po
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_hr
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2019-10-24 07:33+0000\n"
|
||||
"Last-Translator: Matjaz Mozetic <matjaz@matmoz.si>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3;\n"
|
||||
"X-Generator: Weblate 3.8\n"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid "Allowed HR categories"
|
||||
msgstr "Dovoljene kategorije kadrov"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid "Allowed users"
|
||||
msgstr "Dovoljeni uporabniki"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_hr_employee
|
||||
msgid "Employee"
|
||||
msgstr "Kader"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_project__hr_category_ids
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__hr_category_ids
|
||||
msgid "Employee Categories"
|
||||
msgstr "Kategorije zaposlenih"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_res_users__hr_category_ids
|
||||
msgid "HR categories"
|
||||
msgstr "Kadrovske kategorije"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_project__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can link the project to several employee categories, that will be "
|
||||
"the allowed in tasks."
|
||||
msgstr ""
|
||||
"Tu lahko povežete projekt z več kategorijami kadrov, ki bodo dovoljeni v "
|
||||
"opravilih."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__hr_category_ids
|
||||
msgid ""
|
||||
"Here you can select the employee category suitable to perform this task, "
|
||||
"limiting the selectable users to be assigned to those that belongs to that "
|
||||
"category."
|
||||
msgstr ""
|
||||
"Tu lahko izberete kategorijo kadrov primerno za opravljanje tega opravila in "
|
||||
"tako omejite izbor uporabnikov, ki se jim lahko opravilo dodeli na to "
|
||||
"kategorijo."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,field_description:project_hr.field_project_task__employee_ids
|
||||
msgid "Linked employees"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Projekt"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Opravilo"
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed employee categories according "
|
||||
"categories at project level."
|
||||
msgstr ""
|
||||
"Tehnično polje za obdelavo dovoljenih kadrovskih kategorij glede na "
|
||||
"kategorije na projektnem nivoju."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_project_task__allowed_assigned_user_ids
|
||||
msgid ""
|
||||
"Technical field for computing allowed users according employee category."
|
||||
msgstr ""
|
||||
"Tehnično polje za obdelavo dovoljenih uporabnikov glede na kadrovsko "
|
||||
"kategorijo."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model.fields,help:project_hr.field_res_users__hr_category_ids
|
||||
msgid ""
|
||||
"Technical field for computing dynamically employee categories linked to the "
|
||||
"user in the current company."
|
||||
msgstr ""
|
||||
"Tehnično polje za dinamično obdelavo kategorij kadrov povezanih z "
|
||||
"uporabnikom in trenutno družbo."
|
||||
|
||||
#. module: project_hr
|
||||
#: model:ir.model,name:project_hr.model_res_users
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid "You can't assign a category that is not allowed at project level."
|
||||
msgstr "Kategorije, ki ni dovoljena na projektnem nivoju, ne morete dodeliti."
|
||||
|
||||
#. module: project_hr
|
||||
#. odoo-python
|
||||
#: code:addons/project_hr/models/project_task.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You can't assign a user not belonging to the selected employee category."
|
||||
msgstr ""
|
||||
"Ne morete dodeliti uporabnika, ki ne spada v izbrano kadrovsko kategorijo."
|
||||
|
||||
#~ msgid "Linked employee"
|
||||
#~ msgstr "Povezani kader"
|
||||
|
||||
#~ msgid "Users"
|
||||
#~ msgstr "Uporabniki"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import project_project
|
||||
from . import project_task
|
||||
from . import res_users
|
||||
from . import hr_employee
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright 2019 Tecnativa - Victor M.M. Torres
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class HrEmployee(models.Model):
|
||||
_inherit = "hr.employee"
|
||||
|
||||
@api.model_create_multi
|
||||
def create(self, vals_list):
|
||||
res = super().create(vals_list)
|
||||
for vals in vals_list:
|
||||
if vals.get("category_ids"):
|
||||
self.env["project.task"].invalidate_model()
|
||||
return res
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ProjectProject(models.Model):
|
||||
_inherit = "project.project"
|
||||
|
||||
hr_category_ids = fields.Many2many(
|
||||
comodel_name="hr.employee.category",
|
||||
string="Employee Categories",
|
||||
help="Here you can link the project to several employee categories, "
|
||||
"that will be the allowed in tasks.",
|
||||
)
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
# Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import _, api, exceptions, fields, models
|
||||
|
||||
|
||||
class ProjectTask(models.Model):
|
||||
_inherit = "project.task"
|
||||
|
||||
employee_ids = fields.Many2many(
|
||||
comodel_name="hr.employee",
|
||||
string="Linked employees",
|
||||
compute="_compute_employee_ids",
|
||||
store=True,
|
||||
)
|
||||
hr_category_ids = fields.Many2many(
|
||||
comodel_name="hr.employee.category",
|
||||
string="Employee Categories",
|
||||
domain="[('id', 'in', allowed_hr_category_ids)]",
|
||||
help="Here you can select the employee category suitable to perform "
|
||||
"this task, limiting the selectable users to be assigned to "
|
||||
"those that belongs to that category.",
|
||||
)
|
||||
allowed_hr_category_ids = fields.Many2many(
|
||||
comodel_name="hr.employee.category",
|
||||
string="Allowed HR categories",
|
||||
compute="_compute_allowed_hr_category_ids",
|
||||
help="Technical field for computing allowed employee categories "
|
||||
"according categories at project level.",
|
||||
)
|
||||
# This field could have been named allowed_user_ids but a field with
|
||||
# that name already exists in the Odoo core 'project' module
|
||||
allowed_assigned_user_ids = fields.Many2many(
|
||||
comodel_name="res.users",
|
||||
string="Allowed users",
|
||||
compute="_compute_allowed_assigned_user_ids",
|
||||
help="Technical field for computing allowed users according employee "
|
||||
"category.",
|
||||
)
|
||||
|
||||
@api.depends("user_ids", "company_id")
|
||||
def _compute_employee_ids(self):
|
||||
for task in self.filtered("user_ids"):
|
||||
task.employee_ids = task.user_ids.employee_ids.filtered(
|
||||
lambda x: x.company_id == task.company_id
|
||||
)
|
||||
|
||||
@api.depends("project_id", "project_id.hr_category_ids")
|
||||
def _compute_allowed_hr_category_ids(self):
|
||||
hr_category_obj = self.env["hr.employee.category"]
|
||||
for task in self:
|
||||
if task.project_id.hr_category_ids:
|
||||
task.allowed_hr_category_ids = task.project_id.hr_category_ids
|
||||
else:
|
||||
task.allowed_hr_category_ids = hr_category_obj.search([])
|
||||
|
||||
@api.depends("hr_category_ids", "company_id")
|
||||
def _compute_allowed_assigned_user_ids(self):
|
||||
user_obj = self.env["res.users"]
|
||||
for task in self:
|
||||
domain = []
|
||||
if task.hr_category_ids:
|
||||
domain = [
|
||||
("employee_ids.company_id", "=", task.company_id.id),
|
||||
("employee_ids.category_ids", "in", task.hr_category_ids.ids),
|
||||
]
|
||||
task.allowed_assigned_user_ids = user_obj.search(domain)
|
||||
|
||||
@api.constrains("hr_category_ids", "user_ids")
|
||||
def _check_employee_category_user(self):
|
||||
"""Check user's employee belong to the selected category."""
|
||||
for task in self.filtered(lambda x: x.hr_category_ids and x.user_ids):
|
||||
if any(
|
||||
x not in task.employee_ids.category_ids for x in task.hr_category_ids
|
||||
):
|
||||
raise exceptions.ValidationError(
|
||||
_(
|
||||
"You can't assign a user not belonging to the selected "
|
||||
"employee category."
|
||||
)
|
||||
)
|
||||
|
||||
@api.constrains("hr_category_ids", "project_id")
|
||||
def _check_employee_category_project(self):
|
||||
for task in self.filtered("hr_category_ids"):
|
||||
if task.project_id.hr_category_ids and bool(
|
||||
task.hr_category_ids - task.project_id.hr_category_ids
|
||||
):
|
||||
raise exceptions.ValidationError(
|
||||
_(
|
||||
"You can't assign a category that is not allowed at "
|
||||
"project level."
|
||||
)
|
||||
)
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class ResUsers(models.Model):
|
||||
_inherit = "res.users"
|
||||
|
||||
hr_category_ids = fields.Many2many(
|
||||
comodel_name="hr.employee.category",
|
||||
string="HR categories",
|
||||
compute="_compute_hr_category_ids",
|
||||
help="Technical field for computing dynamically employee categories "
|
||||
"linked to the user in the current company.",
|
||||
)
|
||||
|
||||
@api.depends("company_id", "employee_ids", "employee_ids.category_ids")
|
||||
def _compute_hr_category_ids(self):
|
||||
for user in self:
|
||||
user.hr_category_ids = user.employee_ids.filtered(
|
||||
lambda x: x.company_id == user.company_id
|
||||
)[:1].category_ids
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
For setting employee categories at project level:
|
||||
|
||||
#. Go to *Project > Projects*.
|
||||
#. Click on the 3 vertical dots of one of the project kanban cards for
|
||||
unfolding options and select "Settings".
|
||||
#. Put the wanted employee categories on the field "Employee Categories".
|
||||
|
||||
For setting employee categories:
|
||||
|
||||
#. Go to *Project > All Tasks*.
|
||||
#. Select or create a new task.
|
||||
#. Put the wanted employee categories on the field "Employee categories".
|
||||
#. If there's already some employee categories selected at project level, those
|
||||
will be the only selectable ones in the task.
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
* `Tecnativa <https://www.tecnativa.com>`_:
|
||||
|
||||
* Pedro M. Baeza
|
||||
* Victor M.M. Torres
|
||||
* Ernesto Tejeda
|
||||
* Pilar Vargas
|
||||
|
||||
* `CorporateHub <https://corporatehub.eu/>`__
|
||||
|
||||
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
||||
|
||||
* Alfadil Tabar <alfadil.tabar@gmail.com>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
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.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
* Limit project and task visibility according employee categories through
|
||||
overriding security methods (as through record rules is not possible without
|
||||
modifying existing ones).
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#. Go to *Project > Search > Tasks*.
|
||||
#. 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.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
|
|
@ -0,0 +1,487 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||
<title>Project HR</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
/* used to remove borders from tables and images */
|
||||
.borderless, table.borderless td, table.borderless th {
|
||||
border: 0 }
|
||||
|
||||
table.borderless td, table.borderless th {
|
||||
/* Override padding for "table.docutils td" with "! important".
|
||||
The right padding separates the table cells. */
|
||||
padding: 0 0.5em 0 0 ! important }
|
||||
|
||||
.first {
|
||||
/* Override more specific margin styles with "! important". */
|
||||
margin-top: 0 ! important }
|
||||
|
||||
.last, .with-subtitle {
|
||||
margin-bottom: 0 ! important }
|
||||
|
||||
.hidden {
|
||||
display: none }
|
||||
|
||||
.subscript {
|
||||
vertical-align: sub;
|
||||
font-size: smaller }
|
||||
|
||||
.superscript {
|
||||
vertical-align: super;
|
||||
font-size: smaller }
|
||||
|
||||
a.toc-backref {
|
||||
text-decoration: none ;
|
||||
color: black }
|
||||
|
||||
blockquote.epigraph {
|
||||
margin: 2em 5em ; }
|
||||
|
||||
dl.docutils dd {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||
dl.docutils dt {
|
||||
font-weight: bold }
|
||||
*/
|
||||
|
||||
div.abstract {
|
||||
margin: 2em 5em }
|
||||
|
||||
div.abstract p.topic-title {
|
||||
font-weight: bold ;
|
||||
text-align: center }
|
||||
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||
div.hint, div.important, div.note, div.tip, div.warning {
|
||||
margin: 2em ;
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||
div.important p.admonition-title, div.note p.admonition-title,
|
||||
div.tip p.admonition-title {
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||
div.danger p.admonition-title, div.error p.admonition-title,
|
||||
div.warning p.admonition-title, .code .error {
|
||||
color: red ;
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||
compound paragraphs.
|
||||
div.compound .compound-first, div.compound .compound-middle {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
div.compound .compound-last, div.compound .compound-middle {
|
||||
margin-top: 0.5em }
|
||||
*/
|
||||
|
||||
div.dedication {
|
||||
margin: 2em 5em ;
|
||||
text-align: center ;
|
||||
font-style: italic }
|
||||
|
||||
div.dedication p.topic-title {
|
||||
font-weight: bold ;
|
||||
font-style: normal }
|
||||
|
||||
div.figure {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
div.footer, div.header {
|
||||
clear: both;
|
||||
font-size: smaller }
|
||||
|
||||
div.line-block {
|
||||
display: block ;
|
||||
margin-top: 1em ;
|
||||
margin-bottom: 1em }
|
||||
|
||||
div.line-block div.line-block {
|
||||
margin-top: 0 ;
|
||||
margin-bottom: 0 ;
|
||||
margin-left: 1.5em }
|
||||
|
||||
div.sidebar {
|
||||
margin: 0 0 0.5em 1em ;
|
||||
border: medium outset ;
|
||||
padding: 1em ;
|
||||
background-color: #ffffee ;
|
||||
width: 40% ;
|
||||
float: right ;
|
||||
clear: right }
|
||||
|
||||
div.sidebar p.rubric {
|
||||
font-family: sans-serif ;
|
||||
font-size: medium }
|
||||
|
||||
div.system-messages {
|
||||
margin: 5em }
|
||||
|
||||
div.system-messages h1 {
|
||||
color: red }
|
||||
|
||||
div.system-message {
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.system-message p.system-message-title {
|
||||
color: red ;
|
||||
font-weight: bold }
|
||||
|
||||
div.topic {
|
||||
margin: 2em }
|
||||
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||
margin-top: 0.4em }
|
||||
|
||||
h1.title {
|
||||
text-align: center }
|
||||
|
||||
h2.subtitle {
|
||||
text-align: center }
|
||||
|
||||
hr.docutils {
|
||||
width: 75% }
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||
clear: left ;
|
||||
float: left ;
|
||||
margin-right: 1em }
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||
clear: right ;
|
||||
float: right ;
|
||||
margin-left: 1em }
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.align-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left }
|
||||
|
||||
.align-center {
|
||||
clear: both ;
|
||||
text-align: center }
|
||||
|
||||
.align-right {
|
||||
text-align: right }
|
||||
|
||||
/* reset inner alignment in figures */
|
||||
div.align-right {
|
||||
text-align: inherit }
|
||||
|
||||
/* div.align-center * { */
|
||||
/* text-align: left } */
|
||||
|
||||
.align-top {
|
||||
vertical-align: top }
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle }
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom }
|
||||
|
||||
ol.simple, ul.simple {
|
||||
margin-bottom: 1em }
|
||||
|
||||
ol.arabic {
|
||||
list-style: decimal }
|
||||
|
||||
ol.loweralpha {
|
||||
list-style: lower-alpha }
|
||||
|
||||
ol.upperalpha {
|
||||
list-style: upper-alpha }
|
||||
|
||||
ol.lowerroman {
|
||||
list-style: lower-roman }
|
||||
|
||||
ol.upperroman {
|
||||
list-style: upper-roman }
|
||||
|
||||
p.attribution {
|
||||
text-align: right ;
|
||||
margin-left: 50% }
|
||||
|
||||
p.caption {
|
||||
font-style: italic }
|
||||
|
||||
p.credits {
|
||||
font-style: italic ;
|
||||
font-size: smaller }
|
||||
|
||||
p.label {
|
||||
white-space: nowrap }
|
||||
|
||||
p.rubric {
|
||||
font-weight: bold ;
|
||||
font-size: larger ;
|
||||
color: maroon ;
|
||||
text-align: center }
|
||||
|
||||
p.sidebar-title {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold ;
|
||||
font-size: larger }
|
||||
|
||||
p.sidebar-subtitle {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
p.topic-title {
|
||||
font-weight: bold }
|
||||
|
||||
pre.address {
|
||||
margin-bottom: 0 ;
|
||||
margin-top: 0 ;
|
||||
font: inherit }
|
||||
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: grey; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||
|
||||
span.classifier {
|
||||
font-family: sans-serif ;
|
||||
font-style: oblique }
|
||||
|
||||
span.classifier-delimiter {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
span.interpreted {
|
||||
font-family: sans-serif }
|
||||
|
||||
span.option {
|
||||
white-space: nowrap }
|
||||
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
/* font-size relative to parent (h1..h6 element) */
|
||||
font-size: 80% }
|
||||
|
||||
table.citation {
|
||||
border-left: solid 1px gray;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docinfo {
|
||||
margin: 2em 4em }
|
||||
|
||||
table.docutils {
|
||||
margin-top: 0.5em ;
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
table.footnote {
|
||||
border-left: solid 1px black;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docutils td, table.docutils th,
|
||||
table.docinfo td, table.docinfo th {
|
||||
padding-left: 0.5em ;
|
||||
padding-right: 0.5em ;
|
||||
vertical-align: top }
|
||||
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||
font-weight: bold ;
|
||||
text-align: left ;
|
||||
white-space: nowrap ;
|
||||
padding-left: 0 }
|
||||
|
||||
/* "booktabs" style (no vertical lines) */
|
||||
table.docutils.booktabs {
|
||||
border: 0px;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.docutils.booktabs * {
|
||||
border: 0px;
|
||||
}
|
||||
table.docutils.booktabs th {
|
||||
border-bottom: thin solid;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||
font-size: 100% }
|
||||
|
||||
ul.auto-toc {
|
||||
list-style-type: none }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="project-hr">
|
||||
<h1 class="title">Project HR</h1>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:1bdcd198e744a57c7e0c8cb01b71534a9be6e6f8bc6048b6ba9ea1a89c1617ef
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/project/tree/16.0/project_hr"><img alt="OCA/project" src="https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_hr"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/project&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This is a technical module for adding some HR information to projects and
|
||||
provide technical fields with HR information:</p>
|
||||
<ul class="simple">
|
||||
<li>Employee categories at project and task level.</li>
|
||||
<li>Employee linked to the user assigned to a task.</li>
|
||||
<li>Employee categories at user level.</li>
|
||||
</ul>
|
||||
<p>These fields can be used later for extra features like task scheduling or
|
||||
security restrictions.</p>
|
||||
<p>It also provides some facilities on project management:</p>
|
||||
<ul class="simple">
|
||||
<li>Limit selection of assigned users according selected employee category at
|
||||
task level.</li>
|
||||
<li>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.</li>
|
||||
</ul>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
|
||||
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
|
||||
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-3">Known issues / Roadmap</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-4">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-5">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-6">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-7">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-8">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="configuration">
|
||||
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
|
||||
<p>For setting employee categories at project level:</p>
|
||||
<ol class="arabic simple">
|
||||
<li>Go to <em>Project > Projects</em>.</li>
|
||||
<li>Click on the 3 vertical dots of one of the project kanban cards for
|
||||
unfolding options and select “Settings”.</li>
|
||||
<li>Put the wanted employee categories on the field “Employee Categories”.</li>
|
||||
</ol>
|
||||
<p>For setting employee categories:</p>
|
||||
<ol class="arabic simple">
|
||||
<li>Go to <em>Project > All Tasks</em>.</li>
|
||||
<li>Select or create a new task.</li>
|
||||
<li>Put the wanted employee categories on the field “Employee categories”.</li>
|
||||
<li>If there’s already some employee categories selected at project level, those
|
||||
will be the only selectable ones in the task.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
|
||||
<ol class="arabic simple">
|
||||
<li>Go to <em>Project > Search > Tasks</em>.</li>
|
||||
<li>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.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="section" id="known-issues-roadmap">
|
||||
<h1><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h1>
|
||||
<ul class="simple">
|
||||
<li>Limit project and task visibility according employee categories through
|
||||
overriding security methods (as through record rules is not possible without
|
||||
modifying existing ones).</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/project/issues">GitHub Issues</a>.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||
<a class="reference external" href="https://github.com/OCA/project/issues/new?body=module:%20project_hr%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#toc-entry-5">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-6">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Tecnativa</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
|
||||
<li>Pedro M. Baeza</li>
|
||||
<li>Victor M.M. Torres</li>
|
||||
<li>Ernesto Tejeda</li>
|
||||
<li>Pilar Vargas</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference external" href="https://corporatehub.eu/">CorporateHub</a><ul>
|
||||
<li>Alexey Pelykh <<a class="reference external" href="mailto:alexey.pelykh@corphub.eu">alexey.pelykh@corphub.eu</a>></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Alfadil Tabar <<a class="reference external" href="mailto:alfadil.tabar@gmail.com">alfadil.tabar@gmail.com</a>></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.</p>
|
||||
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
||||
<p><a class="reference external image-reference" href="https://github.com/pedrobaeza"><img alt="pedrobaeza" src="https://github.com/pedrobaeza.png?size=40px" /></a></p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/project/tree/16.0/project_hr">OCA/project</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
from . import test_project_hr
|
||||
|
|
@ -0,0 +1,119 @@
|
|||
# Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
import logging
|
||||
|
||||
from odoo.exceptions import ValidationError
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestProjectHr(TransactionCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
user_group_employee = cls.env.ref("base.group_user")
|
||||
user_group_project_user = cls.env.ref("project.group_project_user")
|
||||
# Test users to use through the various tests
|
||||
Users = cls.env["res.users"].with_context(no_reset_password=True)
|
||||
cls.user1 = Users.create(
|
||||
{
|
||||
"name": "Test User1",
|
||||
"login": "user1",
|
||||
"password": "user1",
|
||||
"email": "user1.projecthr@example.com",
|
||||
"groups_id": [
|
||||
(6, 0, [user_group_employee.id, user_group_project_user.id])
|
||||
],
|
||||
}
|
||||
)
|
||||
cls.user2 = Users.create(
|
||||
{
|
||||
"name": "Test User2",
|
||||
"login": "user2",
|
||||
"password": "user2",
|
||||
"email": "user2.projecthr@example.com",
|
||||
"groups_id": [
|
||||
(6, 0, [user_group_employee.id, user_group_project_user.id])
|
||||
],
|
||||
}
|
||||
)
|
||||
cls.hr_category = cls.env["hr.employee.category"].create(
|
||||
{"name": "Test employee category"}
|
||||
)
|
||||
cls.hr_category_2 = cls.env["hr.employee.category"].create(
|
||||
{"name": "Test employee category 2"}
|
||||
)
|
||||
|
||||
cls.hr_category_3 = cls.env["hr.employee.category"].create(
|
||||
{"name": "Test employee category 3"}
|
||||
)
|
||||
|
||||
cls.employee = cls.env["hr.employee"].create(
|
||||
{
|
||||
"name": "Test employee",
|
||||
"user_id": cls.user1.id,
|
||||
"category_ids": [(6, 0, cls.hr_category.ids)],
|
||||
}
|
||||
)
|
||||
cls.project = cls.env["project.project"].create(
|
||||
{"name": "Test project", "hr_category_ids": [(4, cls.hr_category.id)]}
|
||||
)
|
||||
cls.task = cls.env["project.task"].create(
|
||||
{
|
||||
"name": "Test task",
|
||||
"project_id": cls.project.id,
|
||||
"hr_category_ids": [(4, cls.hr_category.id)],
|
||||
"user_ids": [(6, 0, [cls.user1.id])],
|
||||
}
|
||||
)
|
||||
|
||||
def test_user(self):
|
||||
self.assertEqual(self.user1.hr_category_ids, self.hr_category)
|
||||
self.employee.category_ids = [(4, self.hr_category_2.id)]
|
||||
self.assertEqual(
|
||||
self.user1.hr_category_ids, self.hr_category + self.hr_category_2
|
||||
)
|
||||
# Check if need invalidate cache
|
||||
self.employee.category_ids = [(4, self.hr_category_3.id)]
|
||||
self.assertEqual(
|
||||
self.user1.hr_category_ids,
|
||||
self.hr_category + self.hr_category_2 + self.hr_category_3,
|
||||
)
|
||||
|
||||
def test_task(self):
|
||||
# check computed values on task
|
||||
self.assertEqual(self.task.employee_ids, self.employee)
|
||||
self.assertEqual(self.task.allowed_hr_category_ids, self.hr_category)
|
||||
self.assertEqual(self.task.allowed_assigned_user_ids, self.user1)
|
||||
self.project.hr_category_ids = [(4, self.hr_category_2.id)]
|
||||
self.assertEqual(
|
||||
self.task.allowed_hr_category_ids, self.hr_category + self.hr_category_2
|
||||
)
|
||||
self.env["hr.employee"].create(
|
||||
{
|
||||
"name": "Test employee 2",
|
||||
"user_id": self.user2.id,
|
||||
"category_ids": [(6, 0, self.hr_category.ids)],
|
||||
}
|
||||
)
|
||||
self.assertEqual(self.task.allowed_assigned_user_ids, self.user1 + self.user2)
|
||||
# Test _check_employee_category_user constraint
|
||||
with self.assertRaises(ValidationError):
|
||||
self.task.hr_category_ids = [(4, self.hr_category_2.id)]
|
||||
# Test _check_employee_category_project constraint
|
||||
self.project.hr_category_ids = [(4, self.hr_category_2.id)]
|
||||
with self.assertRaises(ValidationError):
|
||||
self.task.hr_category_ids = [(4, self.hr_category_2.id)]
|
||||
# add employee to category hr_category_3
|
||||
self.employee.category_ids = [(4, self.hr_category_3.id)]
|
||||
# test assign a category no in project categories
|
||||
with self.assertRaises(ValidationError):
|
||||
self.task.hr_category_ids = [(4, self.hr_category_3.id)]
|
||||
|
||||
def test_task_project_wo_categories(self):
|
||||
self.project.hr_category_ids = False
|
||||
self.assertTrue(self.task.allowed_hr_category_ids)
|
||||
# This operation shouldn't give error
|
||||
self.task.hr_category_ids = [(4, self.hr_category.id)]
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="edit_project">
|
||||
<field name="name">Project form: Add employee categories</field>
|
||||
<field name="model">project.project</field>
|
||||
<field name="inherit_id" ref="project.edit_project" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_id" position="after">
|
||||
<field name="hr_category_ids" widget="many2many_tags" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="view_task_form2">
|
||||
<field
|
||||
name="name"
|
||||
>Project task form: Add linked employee and Employee category</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_form2" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_ids" position="before">
|
||||
<field name="allowed_hr_category_ids" invisible="1" />
|
||||
<field name="allowed_assigned_user_ids" invisible="1" />
|
||||
<field
|
||||
name="hr_category_ids"
|
||||
widget="many2many_tags"
|
||||
options="{'no_create': True}"
|
||||
/>
|
||||
</field>
|
||||
<field name="user_ids" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
>[('id', 'in', allowed_assigned_user_ids)]</attribute>
|
||||
</field>
|
||||
<field name="date_assign" position="after">
|
||||
<field name="employee_ids" widget="many2many_tags" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="quick_create_task_form">
|
||||
<field name="name">project.task.form.quick_create</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.quick_create_task_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_ids" position="before">
|
||||
<field name="allowed_assigned_user_ids" invisible="1" />
|
||||
</field>
|
||||
<field name="user_ids" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
>[('id', 'in', allowed_assigned_user_ids)]</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="view_task_tree2">
|
||||
<field name="name">project.task.tree</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_tree2" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_ids" position="before">
|
||||
<field name="allowed_assigned_user_ids" invisible="1" />
|
||||
</field>
|
||||
<field name="user_ids" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
>[('id', 'in', allowed_assigned_user_ids)]</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
43
odoo-bringout-oca-project-project_hr/pyproject.toml
Normal file
43
odoo-bringout-oca-project-project_hr/pyproject.toml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-project-project_hr"
|
||||
version = "16.0.0"
|
||||
description = "Project HR - Link HR with project"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-project>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-hr>=16.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">= 3.11"
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://github.com/bringout/0"
|
||||
repository = "https://github.com/bringout/0"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["project_hr"]
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = [
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue