Browse Source

[ADD]Images

pull/29/head
SHEREEF PT 8 years ago
parent
commit
336505762a
  1. 2
      project_subtask/__manifest__.py
  2. 46
      project_subtask/__manifest__.py~
  3. 2
      project_subtask/models/project.py
  4. 0
      project_subtask/static/description/banner.jpg
  5. 95
      project_subtask/static/description/index.html
  6. 162
      project_subtask/static/description/index.html~
  7. BIN
      project_subtask/static/description/task5.png

2
project_subtask/__manifest__.py

@ -37,7 +37,7 @@
'views/sub_task_report.xml', 'views/sub_task_report.xml',
'views/sub_task_type_view.xml' 'views/sub_task_type_view.xml'
], ],
'images': ['static/description/pr_banner.jpg'], 'images': ['static/description/banner.jpg'],
'license': 'LGPL-3', 'license': 'LGPL-3',
'demo': [], 'demo': [],
'installable': True, 'installable': True,

46
project_subtask/__manifest__.py~

@ -1,46 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Sub Tasks in Project',
'version': '10.0.1.0.0',
'summary': """Implementation & Reports of Sub-Task in Project Module""",
'description': 'This module helps you to create sub task under a task',
'category': 'Project',
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': "http://www.cybrosys.com",
'depends': ['base', 'project'],
'data': [
'views/project_view.xml',
'views/task_view.xml',
'views/sub_task.xml',
'views/sub_task_report.xml',
'views/sub_task_type_view.xml'
],
'images': ['static/description/pr_banner.jpg'],
'license': 'LGPL-3',
'demo': [],
'installable': True,
'auto_install': False,
'application': False,
}

2
project_subtask/models/project.py

@ -127,7 +127,7 @@ class TaskMaster(models.Model):
if self.stage_id.done_state: if self.stage_id.done_state:
for each in self.sub_task_lines: for each in self.sub_task_lines:
if not each.stage_id.done_state: if not each.stage_id.done_state:
raise ValidationError(_("You can't move it to final stage. Some of the task are not completed")) raise ValidationError(_("You can't move it to final stage. Some child tasks are not completed yet.!"))
@api.multi @api.multi
def _check_child_task(self): def _check_child_task(self):

0
project_subtask/static/description/pr_banner.jpg → project_subtask/static/description/banner.jpg

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

95
project_subtask/static/description/index.html

@ -19,7 +19,7 @@
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<div class="oe_spaced"> <div class="oe_row oe_spaced">
<div class="oe_picture"> <div class="oe_picture">
<h3 class="oe_slogan">Overview</h3> <h3 class="oe_slogan">Overview</h3>
<p class="oe_mt32"> <p class="oe_mt32">
@ -31,32 +31,37 @@
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_spaced"> <div class="oe_row oe_spaced">
<h3 class="oe_slogan">Sub Task Configuration</h3> <h3 class="oe_slogan">Sub Task Configuration</h3>
<div class="" style="text-align: center"> <div class="" style="text-align: center">
<p> <p>
<h4>Project -> Configuration -> Sub Task Stages</h4> <h4>Project -> Configuration -> Sub Task Stages</h4>
<p> <p>
</div> </div>
<div class="" style="text-align: center"> <div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot"> <div class="oe_row_img oe_centered">
<img style="border:10px solid white;" src="task2.png"> <img class="oe_picture oe_screenshot" src="task2.png">
</div> </div>
<span>&#9755; Please tick marked fields to identify your final stage and cancel stage.</span> <span class="center-block" style="text-align: center;">&#9755; Please tick marked fields to identify your final stage and cancel stage.</span>
</div> </div>
<br> <br>
</div>
</section>
<div class="" style="text-align: center"> <section class="oe_container oe_dark">
<div class="oe_demo oe_picture oe_screenshot"> <div class="oe_row oe_spaced">
<img style="border:10px solid white;" src="task3.png"> <div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="task3.png">
</div> </div>
<span>&#9755; If you want to create sub tasks for your project please select the option Sub Tasks</span> <span class="center-block" style="text-align: center;">&#9755; If you want to create sub tasks for your project please select the option Sub Tasks.</span>
</div> </div>
<br>
</div> </div>
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container">
<div class="oe_spaced"> <div class="oe_row oe_spaced">
<h3 class="oe_slogan">Sub Task Creation</h3> <h3 class="oe_slogan">Sub Task Creation</h3>
<div class="" style="text-align: center"> <div class="" style="text-align: center">
<p> <p>
@ -67,27 +72,27 @@
<div class="oe_demo oe_picture oe_screenshot"> <div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="sub_task.png"> <img style="border:10px solid white;" src="sub_task.png">
</div> </div>
<span>&#9755;Create sub tasks directly from Menu 'Sub Task'.</span> <span class="center-block" style="text-align: center;">&#9755; Create sub tasks directly from Menu 'Sub Task'.</span>
</div> </div>
<br> </div>
<div class="" style="text-align: center"> </section>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="task.png"> <section class="oe_container oe_dark">
</div> <div class="oe_row oe_spaced">
<span>&#9755; Create sub tasks from task itself</span> <div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="task.png">
</div> </div>
<span class="center-block" style="text-align: center;">&#9755; Create sub tasks from task itself</span>
</div> </div>
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_spaced"> <div class="oe_row oe_spaced">
<h3 class="oe_slogan">Sub-Task Count in Task Kanban View</h3> <h3 class="oe_slogan">Sub-Task Count in Task Kanban View</h3>
<div class=""> <div class="oe_demo oe_picture oe_screenshot">
<div class="oe_demo oe_picture oe_screenshot"> <img style="border:10px solid white;" src="count.png">
<img style="border:10px solid white;" src="count.png">
</div>
<span>&#9755; You can see the count of sub task on each task's kanaban view</span>
</div> </div>
<span class="center-block" style="text-align: center;">&#9755; You can see the count of sub task on each task's kanaban view</span>
</div> </div>
</section> </section>
@ -103,36 +108,35 @@
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_spaced"> <div class="oe_row oe_spaced">
<h3 class="oe_slogan">Stage Validation for Sub-Task</h3> <h3 class="oe_slogan">Stage Validation for Sub-Task</h3>
<div class="" style="text-align: center"> <div class="oe_demo oe_picture oe_screenshot">
<div class="oe_demo oe_picture oe_screenshot"> <img style="border:10px solid white;" src="task5.png">
<img style="border:10px solid white;" src="task5.png">
</div>
<span>&#9755; You cant move your task into final stage until all sub tasks are reach in final stage</span>
</div>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="task6.png">
</div>
<span>&#9755; When you move your task into cancel stage then all sub tasks also will go to cancel stage</span>
</div> </div>
<span class="center-block" style="text-align: center;">&#9755; You cant move your task into final stage until all sub tasks are reach in final stage</span>
</div> </div>
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<div class=" oe_spaced"> <div class="oe_row oe_spaced">
<h3 class="oe_slogan">Deadline Validation for Sub-Task</h3> <h3 class="oe_slogan">Automatically Cancel/kill the sub-task by moving parent task to 'cancel'</h3>
<div class=""> <div class="oe_demo oe_picture oe_screenshot">
<div class="oe_demo oe_picture oe_screenshot"> <img style="border:10px solid white;" src="task6.png">
<img style="border:10px solid white;" src="11.png">
</div>
</div> </div>
<span class="center-block" style="text-align: center;">&#9755; When you move your task into cancel stage then all sub tasks also will go to cancel stage</span>
</div> </div>
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_row oe_spaced">
<h3 class="oe_slogan">Deadline Validation for Sub-Task</h3>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="11.png">
</div>
</div>
</section>
<section class="oe_container oe_dark">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2> <h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;"> <div class="oe_slogan" style="margin-top:10px !important;">
<div> <div>
@ -160,4 +164,3 @@

162
project_subtask/static/description/index.html~

@ -1,162 +0,0 @@
<section class="oe_container">
<div class="oe_spaced">
<h2 class="oe_slogan">Sub Tasks in Project</h2>
<h3 class="oe_slogan">This Module Enables Sub-task feature in Project Module.</h3>
<h4 class="oe_slogan" style="font-size: 23px;">Author : Cybrosys Techno Solutions , www.cybrosys.com</h4>
</div>
<div class="oe_spaced" style="padding-left:65px;">
<h4>Features:</h4>
<div>
<span style="color:green;"> &#9745; </span> Sub-task Feature for Project.<br/>
<span style="color:green;"> &#9745; </span> Sub-Task Lists Under Task.<br/>
<span style="color:green;"> &#9745; </span> Sub-Task Count in Task Kanban View.<br/>
<span style="color:green;"> &#9745; </span> Sub-Task Stages in Configuration.<br/>
<span style="color:green;"> &#9745; </span> Sub-Task Analysis Under Report.<br/>
<span style="color:green;"> &#9745; </span> Deadline Validation for Sub-Task.<br/>
<span style="color:green;"> &#9745; </span> Stage Validation for Sub-Task.<br/>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_spaced">
<div class="oe_picture">
<h3 class="oe_slogan">Overview</h3>
<p class="oe_mt32">
Currently Odoo has no sub-task feature in project. This module brings "SUB-TASK" forms and its configuration for projects with configured stages.
User can also analyse the sub tasks under the project reporting menu dynamically.
</p>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_spaced">
<h3 class="oe_slogan">Sub Task Configuration</h3>
<div class="" style="text-align: center">
<p>
<h4>Project -> Configuration -> Sub Task Stages</h4>
<p>
</div>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;height: 400px;" src="task2.png">
</div>
<span>&#9755; Please tick marked fields to identify your final stage and cancel stage.</span>
</div>
<br>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="task3.png">
</div>
<span>&#9755; If you want to create sub tasks for your project please select the option Sub Tasks</span>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_spaced">
<h3 class="oe_slogan">Sub Task Creation</h3>
<div class="" style="text-align: center">
<p>
<h4>You can create sub tasks via 2 ways.</h4>
<p>
</div>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;height: 400px;" src="sub_task.png">
</div>
<span>&#9755;Create sub tasks directly from Menu 'Sub Task'.</span>
</div>
<br>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="task.png">
</div>
<span>&#9755; Create sub tasks from task itself</span>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_spaced">
<h3 class="oe_slogan">Sub-Task Count in Task Kanban View</h3>
<div class="">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="count.png">
</div>
<span>&#9755; You can see the count of sub task on each task's kanaban view</span>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_spaced">
<h3 class="oe_slogan"> Sub-Task Analysis</h3>
<div class="">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;height: 400px;" src="task4.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_spaced">
<h3 class="oe_slogan">Stage Validation for Sub-Task</h3>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="task5.png">
</div>
<span>&#9755; You cant move your task into final stage until all sub tasks are reach in final stage</span>
</div>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="task6.png">
</div>
<span>&#9755; When you move your task into cancel stage then all sub tasks also will go to cancel stage</span>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class=" oe_spaced">
<h3 class="oe_slogan">Deadline Validation for Sub-Task</h3>
<div class="">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="11.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;">
<div>
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;border-radius: 0;" href="http://www.cybrosys.com"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="http://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="http://www.cybrosys.com/odoo-customization-and-installation/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
<br>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<div>
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td>
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
</div>
</div>
</section>

BIN
project_subtask/static/description/task5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Loading…
Cancel
Save