Skip to content

Commit

Permalink
[ADD] project_task_subtask: модуль из 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Sep 24, 2024
1 parent af80235 commit f70300d
Show file tree
Hide file tree
Showing 35 changed files with 2,390 additions and 0 deletions.
116 changes: 116 additions & 0 deletions project_task_subtask/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
======================
Project Task Checklist
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3a3f0575b71186dece7826cf32d1bfc8cbfa7c3076d64352bcca8a09c4fd41a9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-it--projects--llc%2Fmisc--addons-lightgray.png?logo=github
:target: https://github.com/it-projects-llc/misc-addons/tree/14.0/project_task_subtask
:alt: it-projects-llc/misc-addons

|badge1| |badge2| |badge3|

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

- 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

- Each subtask has buttons to switch state:

- DONE

- TODO

- CANCELLED

- Added new "Checklist" menu

- default filter: "My", "TODO"

- optional group by: "Project", "Task", "User", "State"

**Table of contents**

.. contents::
:local:

Usage
=====

- Create User1 and User2 in the ``Settings >> Users`` menu

- Login as User1

- Go to ``Project >> Project >> All Tasks`` and open the
``Checklist`` tab
- Create new subtask (Assigned to - User2)

- Login as User2

- See message in Inbox like "TODO: subtask_name"
- Change state of subtask to Cancelled/Done
- 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

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/it-projects-llc/misc-addons/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/it-projects-llc/misc-addons/issues/new?body=module:%20project_task_subtask%0Aversion:%2014.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
-------

* IT-Projects LLC

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

- Ivan Yelizariev (https://github.com/yelizariev)
- Rafael Manaev (https://github.com/manawi)
- Ilmir Karamov (https://github.com/ilmir-k)
- Ildar Nasyrov (https://github.com/iledarn)
- Nicolas Jeudy (https://github.com/njeudy)
- Alexandr Kolushov (https://github.com/KolushovAlexandr)
- Almas Giniatullin (https://github.com/almas50)

Maintainers
-----------

This module is part of the `it-projects-llc/misc-addons <https://github.com/it-projects-llc/misc-addons/tree/14.0/project_task_subtask>`_ project on GitHub.

You are welcome to contribute.
3 changes: 3 additions & 0 deletions project_task_subtask/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License MIT (https://opensource.org/licenses/MIT).

from . import models
20 changes: 20 additions & 0 deletions project_task_subtask/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": """Project Task Checklist""",
"summary": """Use checklist to be ensure that all your tasks are performed and to make easy control over them""", # noqa: B950
"category": """Project Management""",
"images": ["images/checklist_main.png"],
"version": "14.0.1.1.2",
"author": "IT-Projects LLC",
"support": "[email protected]",
"website": "https://github.com/it-projects-llc/misc-addons",
"license": "LGPL-3",
"depends": ["project"],
"data": [
"security/ir.model.access.csv",
"views/project_task_subtask.xml",
"views/assets.xml",
"data/subscription_template.xml",
],
"qweb": ["static/src/xml/templates.xml"],
"demo": ["demo/project_task_subtask_demo.xml"],
}
24 changes: 24 additions & 0 deletions project_task_subtask/data/subscription_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="subtasks_subtype" model="mail.message.subtype">
<field name="name">All checklist 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="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="sequence">10</field>
<field name="res_model">project.project</field>
<field name="parent_id" eval="ref('subtasks_subtype')" />
<field name="relation_field">project_id</field>
<field name="default" eval="True" />
</record>
</odoo>
8 changes: 8 additions & 0 deletions project_task_subtask/demo/project_task_subtask_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="project_task_subtask_1" model="project.task.subtask">
<field name="name">test subtask</field>
<field name="user_id" eval="ref('base.user_demo')" />
<field name="task_id" eval="ref('project.project_task_1')" />
</record>
</odoo>
Loading

0 comments on commit f70300d

Please sign in to comment.