Permalink
Browse files

🌹 'Checklist' replaced by 'To Do List'

  • Loading branch information...
RafiZz committed Nov 28, 2018
1 parent 618eff5 commit 998beefb3bf36ed33a5236df333c7d98808f3439
@@ -1,12 +1,12 @@
=======================
Project Task Checklist
Project Task To Do List
=======================

Use subtasks to control your tasks. Be ensure that all your tasks/subtasks are performed and not missed.

Features:

* Added new "Checklist" tab on task's form
* Added new "To Do List" tab on task's form
* When new subtask is created\changed, message is sent to user that assigned to this subtask
* Only users related to subtask can change subtask parameters
* All subtasks have a certain color, informing about their state
@@ -16,7 +16,7 @@ Features:
* TODO
* CANCELLED

* Added new "Checklist" menu
* Added new "To Do List" menu

* default filter: "My", "TODO"
* optional group by: "Project", "Task", "User", "State"
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
{
"name": """Project Task Checklist""",
"summary": """Use checklist to be ensure that all your tasks are performed and to make easy control over them""",
"name": """Project Task To Do List""",
"summary": """Use To Do List to be ensure that all your tasks are performed and to make easy control over them""",
"category": """Project Management""",
"images": ['images/checklist_main.png'],
"images": ['images/todolist_main.png'],
"version": "1.0.0",
"application": False,

@@ -3,15 +3,15 @@
<openerp>
<data>
<record id="subtasks_subtype" model="mail.message.subtype">
<field name="name">All checklist updates</field>
<field name="name">All To Do List updates</field>
<field name="res_model">project.task</field>
<field name="description">Subscribe to checklist updates of other users. By default you are notified on checklist items to and from you only.</field>
<field name="description">Subscribe to To Do List updates of other users. By default you are notified on To Do List items to and from you only.</field>
<field name="default" eval="False"/>
</record>

<record id="all_subtask_subtype" model="mail.message.subtype">
<field name="name">All checklist updates</field>
<field name="description">Subscribe to checklist updates of other users. By default you are notified on checklist items to and from you only.</field>
<field name="name">All To Do List updates</field>
<field name="description">Subscribe to To Do List updates of other users. By default you are notified on To Do List items to and from you only.</field>
<field name="sequence">10</field>
<field name="res_model">project.project</field>
<field name="parent_id" eval="ref('subtasks_subtype')"/>
@@ -1,5 +1,5 @@
========================
Project Task Checklist
Project Task To Do List
========================

Installation
@@ -16,7 +16,7 @@ Example of usage:
* Create User1 and User2 in the ``Settings >> Users`` menu
* Login as User1

* Go to ``Project >> Project >> Tasks`` and open the ``Checklist`` tab
* Go to ``Project >> Project >> Tasks`` and open the ``To Do List`` tab
* Create new subtask (Reviewer - User1, Assigned to - User2)

* Login as User2
@@ -26,5 +26,5 @@ Example of usage:
* You can see a message in Inbox "Cancelled: subtask_name" or "Done: subtask_name" accordingly.

* You can see your TODOs on tasks in kanban view in the ``Project >> Project >> Tasks`` menu
* The ``Project >> Project >> Checklist`` menu displays ALL subtasks in state TODO assigned to you and subtasks where you are Reviewer
* The ``Project >> Project >> To Do List`` menu displays ALL subtasks in state TODO assigned to you and subtasks where you are Reviewer

@@ -164,10 +164,10 @@ def send_subtask_email(self, subtask_name, subtask_state, subtask_reviewer_id, s
body = '<p>' + escape(user.name) + ', <br><strong>' + state + '</strong>: ' + escape(subtask_name)
partner_ids = [user.partner_id.id]
elif self.env.user == user:
body = '<p>' + escape(reviewer.name) + ', <em style="color:#999">I updated checklist item assigned to me:</em> <br><strong>' + state + '</strong>: ' + escape(subtask_name)
body = '<p>' + escape(reviewer.name) + ', <em style="color:#999">I updated To Do List item assigned to me:</em> <br><strong>' + state + '</strong>: ' + escape(subtask_name)
partner_ids = [reviewer.partner_id.id]
else:
body = '<p>' + escape(user.name) + ', ' + escape(reviewer.name) + ', <em style="color:#999">I updated checklist item, now its assigned to ' + escape(user.name) + ': </em> <br><strong>' + state + '</strong>: ' + escape(subtask_name)
body = '<p>' + escape(user.name) + ', ' + escape(reviewer.name) + ', <em style="color:#999">I updated To Do List item, now its assigned to ' + escape(user.name) + ': </em> <br><strong>' + state + '</strong>: ' + escape(subtask_name)
partner_ids = [user.partner_id.id, reviewer.partner_id.id]
if old_name:
body = body + '<br><em style="color:#999">Updated from</em><br><strong>' + state + '</strong>: ' + escape(old_name) + '</p>'
@@ -3,6 +3,18 @@
<openerp>
<data>

<!--<record model="ir.rule" id="project_description_subtask_rule">-->
<!--<field name="name">Allow edit others tasks</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 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"/> -->
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,8 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<h2 class="oe_slogan" style="color:#875A7B;">Project Task Checklist</h2>
<h3 class="oe_slogan">Use checklist to be ensure that all your tasks are performed and to make easy control over them</h3>
<h2 class="oe_slogan" style="color:#875A7B;">Project Task To Do List</h2>
<h3 class="oe_slogan">Use To Do List to be ensure that all your tasks are performed and to make easy control over them</h3>
</div>
</div>
</section>
@@ -16,15 +16,15 @@ <h3 class="oe_slogan">Use checklist to be ensure that all your tasks are perform
<ul class="list-unstyled">
<li>
<i class="fa fa-check-square-o text-primary"></i>
create checklist for any tasks
create To Do List for any tasks
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
track all subtasks that should be done and keep them under control
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
checklist items will be colored depending on their state
To Do List items will be colored depending on their state
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
@@ -46,13 +46,13 @@ <h3 class="oe_slogan">Use checklist to be ensure that all your tasks are perform
<h3 class="oe_slogan">How It Works</h3>
<div class="oe_span12" >
<p class="oe_mt32">
Go to <em>Project &rarr; Tasks</em> menu and create/open a task. Here you can see new "Checklist" tab.
Add items (hereinafter "subtasks") into your checklist. <br/>
Go to <em>Project &rarr; Tasks</em> menu and create/open a task. Here you can see new "To Do List" tab.
Add items (hereinafter "subtasks") into your To Do List. <br/>
Specify <em>"Description"</em> and select <em>"Assigned to"</em>, <em>"Reviewer"</em>.
</p>
</div>
<div class="oe_row_img oe_centered">
<img class="oe_demo oe_picture oe_screenshot" src="checklist.png"/>
<img class="oe_demo oe_picture oe_screenshot" src="todolist.png"/>
</div>
</div>
</section>
@@ -68,11 +68,11 @@ <h3 class="oe_slogan">How It Works</h3>
</ul>
</p>
<p>
If you mistakenly switch state to "DONE" or "CANCELLED", you will be able to revert state to TODO by clicking on <img src="checklist_icon.png">
If you mistakenly switch state to "DONE" or "CANCELLED", you will be able to revert state to TODO by clicking on <img src="todolist_icon.png">
</p>
</div>
<div class="oe_row_img oe_centered">
<img class="oe_demo oe_picture oe_screenshot" src="checklist_color.png"/>
<img class="oe_demo oe_picture oe_screenshot" src="todolist_color.png"/>
</div>
</div>
</section>
@@ -81,11 +81,11 @@ <h3 class="oe_slogan">How It Works</h3>
<div class="oe_row oe_spaced">
<div class="oe_span12 text-center">
<p class="oe_mt32">
All checklist changes and updates are tracked on task mail thread and you will receive instant email notifications to your Inbox
All To Do List changes and updates are tracked on task mail thread and you will receive instant email notifications to your Inbox
</p>
</div>
<div class="oe_row_img oe_centered">
<img class="oe_demo oe_picture oe_screenshot" src="checklist_mail.png"/>
<img class="oe_demo oe_picture oe_screenshot" src="todolist_mail.png"/>
</div>
</div>
</section>
@@ -98,7 +98,7 @@ <h3 class="oe_slogan">How It Works</h3>
</p>
</div>
<div class="oe_row_img oe_centered">
<img class="oe_demo oe_picture oe_screenshot" src="checklist_kanban.png"/>
<img class="oe_demo oe_picture oe_screenshot" src="todolist_kanban.png"/>
</div>
</div>
</section>
@@ -107,11 +107,11 @@ <h3 class="oe_slogan">How It Works</h3>
<div class="oe_row oe_spaced">
<div class="oe_span12 text-center">
<p class="oe_mt32">
Track all your TODOs in one place and keep them under control. Go to the <em>Project &rarr; Checklist</em> menu to see them.
Track all your TODOs in one place and keep them under control. Go to the <em>Project &rarr; To Do List</em> menu to see them.
</p>
</div>
<div class="oe_row_img oe_centered">
<img class="oe_demo oe_picture oe_screenshot" src="checklist_menu.png"/>
<img class="oe_demo oe_picture oe_screenshot" src="todolist_menu.png"/>
</div>
</div>
</section>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="arch" type="xml">
<xpath expr = "//page[1]" position = "before">
<page string="Checklist">
<page string="To Do List">
<field name="default_user" invisible='True'/>
<field name="subtask_ids" context="{'default_user_id': default_user}">
<tree string="Task Work" editable="bottom" colors="red:recolor == True;gray:state == 'cancelled';green:state == 'done';#b818ce:state == 'waiting'">
@@ -97,7 +97,7 @@
</record>

<record id="action_view_subtask" model="ir.actions.act_window">
<field name="name">Checklist</field>
<field name="name">To Do List</field>
<field name="res_model">project.task.subtask</field>
<field name="view_mode">tree,form</field>
<field name="context">{
@@ -107,7 +107,7 @@
</field>
</record>

<menuitem name="Checklist"
<menuitem name="To Do List"
parent="project.menu_project_management"
id="menu_action_view_subtask"
action="action_view_subtask"/>

0 comments on commit 998beef

Please sign in to comment.