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

[MIG] project scrum: 13.0 #25

Open
wants to merge 9 commits into
base: 13.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions oca_dependencies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
project
57 changes: 57 additions & 0 deletions project_scrum/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
=============
Project Scrum
=============

Organize your tasks with the Scrum and Sprint methodology.

*Create Sprints to manage your task deadlines*
*Manage multiple sprint durations with the possibility of creating different Scrum Teams*

Usage
=====
This module implements all concepts defined by the scrum project management
methodology for IT companies:

- Project with sprints, product owner, scrum master
- Sprints with reviews, daily meetings, feedbacks
- Product backlog
- Sprint backlog

The scrum projects and tasks inherit from the real projects and tasks,
so you can continue working on normal tasks that will also include tasks from
scrum projects.


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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/reporting-engine/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======

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

* Mohamed Habib Challouf <[email protected]>
* Samir Guesmi <[email protected]>
* George Daramouskas <[email protected]>


Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.
3 changes: 3 additions & 0 deletions project_scrum/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright <2017> <Tenovar Ltd>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import models
36 changes: 36 additions & 0 deletions project_scrum/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright <2017> <Tenovar Ltd>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Project Scrum",
"summary": "Use Scrum Method to manage your project",
"version": "13.0.1.0.0",
"category": "Project Management",
"author": "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project-agile",
"depends": [
"base_setup",
"project",

Choose a reason for hiding this comment

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

Add file oca_dependencies.txt in the repo:
project https://github.com/OCA/project 13.0

"project_task_code",
"project_stage_state",
"mail",
],
"data": [
"views/mail_template.xml",
"views/project_scrum_us.xml",
"views/project_scrum_meeting.xml",
"views/project_task.xml",
"views/project_scrum_sprint.xml",
"views/project_scrum_test.xml",
"views/project_project.xml",
"views/menu.xml",
"data/sequences_projects.xml",
"data/project_scrum_test_task_view.xml",
"security/ir.model.access.csv",
"security/project_security.xml",
"security/res_groups.xml",
],
"demo": ["demo/project_scrum_demo.xml"],
"installable": True,
"license": "AGPL-3",
"application": True,
}
11 changes: 11 additions & 0 deletions project_scrum/data/project_scrum_test_task_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="ir.actions.server" id="ps_action_server_creat_test_task">
<field name="name">Create Tasks from Test Cases</field>
<field name="model_id" ref="model_project_scrum_sprint" />
<field name="state">code</field>
<field name="type">ir.actions.server</field>
<field name="code">self.test_task(cr, uid, object, pool)</field>
<field name="binding_model_id" ref="model_project_scrum_sprint" />
</record>
</odoo>
17 changes: 17 additions & 0 deletions project_scrum/data/sequences_projects.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="seq_project_task" model="ir.sequence">
<field name="name">Task Number</field>
<field name="code">project.Task</field>
<field name="prefix">Number/%(year)s/%(woy)s:</field>
<field name="padding">5</field>
<field name="company_id" eval="False" />
</record>
<record id="seq_use_story" model="ir.sequence">
<field name="name">Story Number</field>
<field name="code">user.story</field>
<field name="prefix">Number/%(year)s/%(month)s:</field>
<field name="padding">5</field>
<field name="company_id" eval="False" />
</record>
</odoo>
214 changes: 214 additions & 0 deletions project_scrum/demo/project_scrum_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="base.user_demo" model="res.users">
<field
name="groups_id"
eval="[(4, ref('project.group_project_user')),
(4, ref('project.group_project_manager'))]"
/>
</record>
<record id="project_project_1" model="project.project">
<field name="use_scrum">True</field>
<field name="date_start" eval="time.strftime('%Y-%m-01 10:00:00')" />
<field name="name">Project Scrum</field>
<field name="color">3</field>
<field name="partner_id" ref="base.res_partner_10" />
<field name="privacy_visibility">employees</field>
<field name="user_id" ref="base.user_demo" />
<field name="description">Model for Testing Scrum using in projects</field>
<field name="alias_model">project.task</field>
Copy link

@FernandoRomera FernandoRomera Dec 27, 2020

Choose a reason for hiding this comment

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

Suggest change:

field name="alias_model_id" ref="model_project_task"

</record>
<record id="project_project_2" model="project.project">
<field name="use_scrum">True</field>
<field name="date_start" eval="time.strftime('%Y-%m-01 10:00:00')" />
<field name="name">Project Testing Scrum</field>
<field name="color">3</field>
<field name="partner_id" ref="base.res_partner_10" />
<field name="privacy_visibility">employees</field>
<field name="user_id" ref="base.user_demo" />
<field name="description">Model for Testing Scrum using in projects</field>
<field name="alias_model">project.task</field>
</record>
<record id="project_sprint_1" model="project.scrum.sprint">
<field name="name">Sprint 1</field>
<field name="project_id" ref="project_project_1" />
<field
name="date_start"
eval="(DateTime.today() - relativedelta(
weeks=1)).strftime('%Y-%m-%d')"
/>
<field
name="date_stop"
eval="(DateTime.today() + relativedelta(
weeks=1)).strftime('%Y-%m-%d')"
/>
<field name="state">pending</field>
</record>
<record id="project_sprint_2" model="project.scrum.sprint">
<field name="name">Sprint 2</field>
<field name="project_id" ref="project_project_1" />
<field
name="date_start"
eval="(DateTime.today() - relativedelta(
weeks=3)).strftime('%Y-%m-%d')"
/>
<field
name="date_stop"
eval="(DateTime.today() - relativedelta(
weeks=2)).strftime('%Y-%m-%d')"
/>
<field name="state">pending</field>
</record>
<record id="project_sprint_3" model="project.scrum.sprint">
<field name="name">Sprint 3</field>
<field name="project_id" ref="project_project_1" />
<field
name="date_start"
eval="(DateTime.today() + relativedelta(
weeks=2)).strftime('%Y-%m-%d')"
/>
<field
name="date_stop"
eval="(DateTime.today() + relativedelta(
weeks=3)).strftime('%Y-%m-%d')"
/>
<field name="state">open</field>
</record>
<record id="project_sprint_4" model="project.scrum.sprint">
<field name="name">Testing Sprint 1</field>
<field name="project_id" ref="project_project_2" />
<field
name="date_start"
eval="(DateTime.today() + relativedelta(
weeks=4)).strftime('%Y-%m-%d')"
/>
<field
name="date_stop"
eval="(DateTime.today() + relativedelta(
weeks=5)).strftime('%Y-%m-%d')"
/>
<field name="state">open</field>
</record>
<record id="project_sprint_5" model="project.scrum.sprint">
<field name="name">Testing Sprint 2</field>
<field name="project_id" ref="project_project_2" />
<field
name="date_start"
eval="(DateTime.today() + relativedelta(
weeks=6)).strftime('%Y-%m-%d')"
/>
<field
name="date_stop"
eval="(DateTime.today() + relativedelta(
weeks=7)).strftime('%Y-%m-%d')"
/>
<field name="state">open</field>
</record>
<record id="project_task_1" model="project.task">
<field name="planned_hours" eval="40.0" />
<field name="remaining_hours" eval="40.0" />
<field name="user_id" ref="base.user_demo" />
<field name="priority">0</field>
<field name="project_id" ref="project_project_1" />
<field name="name">Detecting problems</field>
<field name="color">3</field>
<field name="sprint_id" ref="project_sprint_1" />
</record>
<record id="project_task_2" model="project.task">
<field name="planned_hours" eval="20.0" />
<field name="remaining_hours" eval="20.0" />
<field name="user_id" ref="base.user_demo" />
<field name="priority">0</field>
<field name="project_id" ref="project_project_1" />
<field name="name">Define layout</field>
<field name="color">3</field>
<field name="sprint_id" ref="project_sprint_2" />
</record>
<record id="project_task_3" model="project.task">
<field name="planned_hours" eval="20.0" />
<field name="remaining_hours" eval="20.0" />
<field name="user_id" ref="base.user_demo" />
<field name="priority">0</field>
<field name="project_id" ref="project_project_2" />
<field name="name">Test Define layout</field>
<field name="color">3</field>
<field name="sprint_id" ref="project_sprint_4" />
</record>
<record id="project_us_1" model="project.scrum.us">
<field name="name">User Story 1</field>
<field name="project_id" ref="project_project_1" />
<field name="description">Description Test</field>
</record>
<record id="project_us_2" model="project.scrum.us">
<field name="name">User Story 2</field>
<field name="project_id" ref="project_project_1" />
<field name="description">Sprint Test</field>
</record>
<record id="project_us_3" model="project.scrum.us">
<field name="name">User Story 3</field>
<field name="project_id" ref="project_project_1" />
<field name="description">Working Flow Test</field>
</record>
<record id="project_us_4" model="project.scrum.us">
<field name="name">User Story 4</field>
<field name="project_id" ref="project_project_1" />
<field name="description">User Friendly Test</field>
</record>
<record id="project_us_5" model="project.scrum.us">
<field name="name">User Story Testing 1</field>
<field name="project_id" ref="project_project_2" />
<field name="description">Description Test</field>
</record>
<record id="project_us_6" model="project.scrum.us">
<field name="name">User Story Testing 2</field>
<field name="project_id" ref="project_project_2" />
<field name="description">Description Scrum Test</field>
</record>
<record id="project_meeting_1" model="project.scrum.meeting">
<field name="datetime_meeting" eval="time.strftime('2015-03-30 10:00:00')" />
<field name="user_id_meeting" ref="base.user_demo" />
<field name="project_id" ref="project_project_1" />
<field name="question_yesterday">yesterday is history</field>
<field name="question_today">today is present</field>
<field name="question_blocks">tomorrow is a mystery</field>
</record>
<record id="project_meeting_2" model="project.scrum.meeting">
<field name="datetime_meeting" eval="time.strftime('2015-02-27 10:00:00')" />
<field name="user_id_meeting" ref="base.user_demo" />
<field name="sprint_id" ref="project_sprint_2" />
<field name="project_id" ref="project_project_1" />
<field name="question_yesterday">yesterday is a mystery</field>
<field name="question_today">today is history</field>
<field name="question_blocks">tomorrow is a present</field>
</record>
<record id="project_meeting_3" model="project.scrum.meeting">
<field name="datetime_meeting" eval="time.strftime('2015-02-25 10:00:00')" />
<field name="user_id_meeting" ref="base.user_demo" />
<field name="sprint_id" ref="project_sprint_4" />
<field name="project_id" ref="project_project_2" />
<field name="question_yesterday">Fantasy is reality</field>
<field name="question_today">Aliens exist</field>
<field name="question_blocks">There is nothing that is true</field>
</record>
<record id="project_test_case_2" model="project.scrum.test">
<field name="name">Test Case 2</field>
<field name="sequence_test" ref="project_project_1" />
<field name="project_id" ref="project_project_1" />
<field name="user_story_id_test" ref="project_us_1" />
<field name="description_test" ref="project_project_1" />
</record>
<record id="project_test_case_3" model="project.scrum.test">
<field name="name">Test Case 3</field>
<field name="sequence_test" ref="project_project_1" />
<field name="project_id" ref="project_project_1" />
<field name="user_story_id_test" ref="project_us_2" />
<field name="description_test" ref="project_project_1" />
</record>
<record id="project_test_case_1" model="project.scrum.test">
<field name="name">Testing Scrum Case 1</field>
<field name="sequence_test" ref="project_project_2" />
<field name="project_id" ref="project_project_2" />
<field name="user_story_id_test" ref="project_us_5" />
<field name="description_test" ref="project_project_2" />
</record>
</odoo>
Loading