Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] project_role #1378

Open
wants to merge 27 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9b0d84b
[12.0][ADD] project_role: role-based project roster
alexey-pelykh Nov 20, 2018
fcefb98
[ADD] icon.png
OCA-git-bot Apr 3, 2019
6acbb0c
[IMP] Don't allow create-and-edit on assignments
alexey-pelykh Apr 3, 2019
5d3b5e1
[IMP] Don't allow quick-create on assignments
alexey-pelykh Apr 8, 2019
f77383f
[IMP] project_role: improve usability
alexey-pelykh May 17, 2019
0a05ef6
[FIX] project_role: bad menu item
alexey-pelykh Jul 5, 2019
ef6f000
[IMP] project_role: revert manual options in favor of web_m2x_options
alexey-pelykh Jul 5, 2019
545ce73
[IMP] project_role: hierarchy, archived roles and assignments
alexey-pelykh Aug 12, 2019
28ac057
[IMP] project_role: add maintainers
alexey-pelykh Oct 30, 2019
5811b98
[IMP] project_role: possible roles
alexey-pelykh Oct 30, 2019
2a58e3c
[FIX] project_role: missing migration
alexey-pelykh Nov 7, 2019
1dd1dfa
[IMP] project_role: enhance API
alexey-pelykh Nov 7, 2019
9c38380
[IMP] project_role : black, isort, prettier
Jun 2, 2020
21a41ac
[MIG] project_role: Migration to 13.0
Jun 2, 2020
ea296d4
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
df6cdd9
[MIG] project_role Migration to 14.0
Yoshiro009 Jan 26, 2021
b8c3fe8
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 31, 2022
866ae70
[MIG] project_role: Migration to 15.0
alexey-pelykh Jul 25, 2022
e16a7df
[FIX] project_role: Add recursive=True parameter to complete_name fie…
victoralmau Nov 4, 2022
e1c074e
[MIG] project_role: Migration to 16.0
leemannd Dec 21, 2022
dd4bf87
[IMP] project_role: inherit create in batch
len-foss May 22, 2023
aaa28f7
[FIX] project_role: `image_128` -> `avatar_128`
MiquelRForgeFlow Oct 10, 2023
949127e
[IMP] project_role: Add unaccent=False to parent_path field
ramiadavid Nov 17, 2023
c6aaad1
[IMP] project_role: pre-commit auto fixes
ramiadavid Dec 12, 2023
a01f54c
[MIG] project_role: Migration to 17.0
ramiadavid Dec 12, 2023
0e2dea5
[MIG] project_role: pre-commit
astirpe Nov 24, 2024
d9a5f54
[MIG] project_role: migrate to V18
astirpe Nov 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 117 additions & 0 deletions project_role/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
=============
Project Roles
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a574d3ac25f967aa72848d5494169f0ff724824470edcca196eb7ef800cd2760
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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/18.0/project_role
:alt: OCA/project
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/project-18-0/project-18-0-project_role
: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=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows maintaining project roster based on roles and
assignments. List of roles is configured at company level, while
assignments can be created on project, company, and cross-company
levels, with configurable inheritance.

**Table of contents**

.. contents::
:local:

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

To configure the list of roles avalable:

1. Go to *Project > Configuration > Project Roles*
2. Add/remove roles according to your business processes

To manage assignments on particular project:

1. Go to *Project > Projects*
2. Open project of interest
3. Click on *Assignments* smart-button
4. Add/remove assignments as needed

To manage assignments:

1. Go to *Project > Assignments*
2. Add/remove assignments as needed

Also, it's recommended to consider using ``web_m2x_options`` module in
order to avoid unneeded creation of roles and projects using Quick
Create action by setting the ``web_m2x_options.create`` system parameter
to ``False``.

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_role%0Aversion:%2018.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
-------

* CorporateHub

Contributors
------------

- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <[email protected]>

- Alfadil Mustafa <[email protected]>
- Tharathip Chaweewongphan <[email protected]>

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-alexey-pelykh| image:: https://github.com/alexey-pelykh.png?size=40px
:target: https://github.com/alexey-pelykh
:alt: alexey-pelykh

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexey-pelykh|

This module is part of the `OCA/project <https://github.com/OCA/project/tree/18.0/project_role>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions project_role/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
25 changes: 25 additions & 0 deletions project_role/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2018-2019 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020-2022 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Project Roles",
"version": "18.0.1.0.0",
"category": "Project",
"website": "https://github.com/OCA/project",
"author": "CorporateHub, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": "Project role-based roster",
"depends": ["project", "mail"],
"data": [
"security/ir.model.access.csv",
"security/project_role.xml",
"views/project_assignment.xml",
"views/project_project.xml",
"views/project_role.xml",
"views/res_config_settings.xml",
],
"maintainers": ["alexey-pelykh"],
}
Loading
Loading