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

[ADD] project_internal_collaborator: add module #1231

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

dessanhemrayev
Copy link
Contributor

This module implements "Project Collaborators". These users have readonly access to projects where they are added as collaborators and tasks they are following in such projects.
Only users who have "Project/User" group can be added as collaborators.
Collaborators can be added to and removed from projects both manually and automatically.

@dessanhemrayev dessanhemrayev marked this pull request as ready for review January 31, 2024 23:14
class Project(models.Model):
_inherit = "project.project"

collaborator_ids = fields.Many2many(

Choose a reason for hiding this comment

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

Odoo standard have this field name, isn't? Does this module override the standard project collaborator features?
https://github.com/odoo/odoo/blob/059b19c59a9222b676be5246eb94d680cf6bf27b/addons/project/models/project.py#L373

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, for review.
I'll fix it

@@ -0,0 +1,13 @@
<odoo noupdate="1">
<!-- Project: Collaborators can see assigned projects -->

Choose a reason for hiding this comment

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

Is that enough to see projects for the collaborators with base.group_user? Project app is only visible for project users. Or am I miss something?
https://github.com/odoo/odoo/blob/059b19c59a9222b676be5246eb94d680cf6bf27b/addons/project/views/project_views.xml#L5-L9

@dessanhemrayev dessanhemrayev changed the title [ADD] project_collaborator: add module [ADD] project_internal_collaborator: add module Feb 12, 2024
@dessanhemrayev dessanhemrayev force-pushed the 16.0-t3171-project_collaborator-add_module branch from 2f11575 to f0e71b3 Compare February 12, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants