-
-
Notifications
You must be signed in to change notification settings - Fork 588
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #740 from Ommo73/8.0-project_task_subtask
8.0 project task subtask
- Loading branch information
Showing
21 changed files
with
98 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html). | ||
from . import models | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html). | ||
from . import project_task_subtask | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_task_subtask,project.task.subtask,model_project_task_subtask,project.group_project_user,1,1,1,0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- Copyright 2017 Ilmir Karamov <https://it-projects.info/team/ilmir-k> | ||
Copyright 2019 Artem Rafailov <https://it-projects.info/team/Ommo73/> | ||
License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html). --> | ||
<openerp> | ||
<data> | ||
|
||
<!-- <record model="ir.rule" id="project_description_subtask_rule"> --> | ||
<!-- <field name="name">Project: only reviewer can change description</field> --> | ||
<!-- <field name="model_id" ref="project_task_subtask.model_project_task_subtask"/> --> | ||
<!-- <field name="groups" eval="[(4,ref('project.group_project_user'))]"/> --> | ||
<!-- <field name="domain_force">[ --> | ||
<!-- ('reviewer_id', '=', user.id), --> | ||
<!-- ]</field> --> | ||
<!-- <field name="perm_unlink" eval="False"/> --> | ||
<!-- <field name="perm_write" eval="True"/> --> | ||
<!-- <field name="perm_create" eval="False"/> --> | ||
<!-- <field name="perm_read" eval="False"/> --> | ||
<!-- </record> --> | ||
|
||
<!-- <record id="delete_not_todo_only" model="ir.rule"> --> | ||
<!-- <field name="name">Only cancelled and done subtasks may be deleted by reviewer</field> --> | ||
<!-- <field name="model_id" ref="project_task_subtask.model_project_task_subtask"/> --> | ||
<!-- <field name="groups" eval="[(4, ref('base.group_sale_manager'))]"/> --> | ||
<!-- <field name="perm_read" eval="0"/> --> | ||
<!-- <field name="perm_write" eval="0"/> --> | ||
<!-- <field name="perm_create" eval="0"/> --> | ||
<!-- <field name="perm_unlink" eval="1" /> --> | ||
<!-- <field name="domain_force">[('state','!=','todo')]</field> --> | ||
<!-- </record> --> | ||
<data noupdate="1"> | ||
|
||
<!-- <record id="delete_not_todo_only" model="ir.rule"> --> | ||
<!-- <field name="name">Only cancelled and done subtasks may be deleted by reviewer</field> --> | ||
<!-- <field name="model_id" ref="project_task_subtask.model_project_task_subtask"/> --> | ||
<!-- <field name="groups" eval="[(4, ref('base.group_sale_manager'))]"/> --> | ||
<!-- <field name="domain_force">[('uid','!=','reviewer_id')]</field> --> | ||
<!-- </record> --> | ||
<record id="project_subtask_rule" model="res.groups"> | ||
<field name="name">Allow edit others tasks</field> | ||
<field name="category_id" ref="base.module_category_usability"/> | ||
<field name="comment">The user will have access to edit others tasks.</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.