Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pnajman-modoolar committed Jun 6, 2018
0 parents commit 48e68bb
Show file tree
Hide file tree
Showing 699 changed files with 109,699 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/.settings
/.project
/.pydevproject
/.idea
/venv
/filestore

*.pyc
*~
*.log
*.tmp
*.pid
/scrummer/static/src/.sass-cache/
85 changes: 85 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@

Scrummer
=================================
This project aims to extend Odoo with agile project management methodologies like:

* Scrum
* Kanban
* Scrumban
* Lean
* ...

as well as to introduce a completely fresh UI framework for agile project management.

[//]: # (addons)


Available addons
----------------
addon | version | summary
--- | --- | ---
[scrummer](scrummer/) | 11.0.1.0.0 | Base module for development of all scrummer components.
[scrummer_git](scrummer_git/) | 11.0.1.0.0 | Module which brings integration with [project_git](project_git/) module.
[scrummer_kanban](scrummer_kanban/) | 11.0.1.0.0 | Module which brings integration with [project_agile_kanban](project_agile_kanban/) module.
[scrummer_scrum](scrummer_scrum/) | 11.0.1.0.0 | Module which brings integration with [project_agile_scrum](project_agile_scrum/) module.
[scrummer_timesheet_category](scrummer_timesheet_category/) | 11.0.1.0.0 | Module which brings integration with [project_timesheet_category](project_timesheet_category/) module.
[scrummer_workflow_security](scrummer_workflow_security/) | 11.0.1.0.0 | Module which brings integration with [project_workflow_security](project_workflow_security/) module.
[scrummer_workflow_transition_by_project](scrummer_workflow_transition_by_project/) | 11.0.1.0.0 | Module which brings integration with [project_workflow_transition_by_project](project_workflow_transition_by_project/) module.
[scrummer_workflow_transitions_by_task_type](scrummer_workflow_transitions_by_task_type/) | 11.0.1.0.0 | Module which brings integration with [project_agile_workflow_transitions_by_task_type](project_agile_workflow_transitions_by_task_type/) module.
[project_agile](project_agile/) | 11.0.1.0.0 | Base module for development of all agile methodologies.
[project_agile_analytic](project_agile_analytic/) | 11.0.1.0.0 | Module which bring simple analytics for project tasks.
[project_agile_jira](project_agile_jira/) | 11.0.1.0.0 | Module which brings interface for migration from JIRA to Odoo. Very light.
[project_agile_kanban](project_agile_kanban/) | 11.0.1.0.0 | Module which brings agile kanban methodology.
[project_agile_scrum](project_agile_scrum/) | 11.0.1.0.0 | Module which brings agile scrum methodology
[project_agile_timesheet_category](project_agile_timesheet_category/) | 11.0.1.0.0 | Module which integrates [project_timesheet_category](project_timesheet_category/) with project_agile
[project_agile_workflow_transitions_by_task_type](project_agile_workflow_transitions_by_task_type/) | 11.0.1.0.0 | Module which integrates [project_workflow_transitions_by_task_type](project_workflow_transitions_by_task_type/) with project agile.
[project_git](project_git/) | 11.0.1.0.0 | Base module for development of other modules which will bring integration with specific git services like: GitHub, BitBucket, GitLab, etc.
[project_git_bitbucket](project_git_bitbucket/) | 11.0.1.0.0 | Module which extends [project_git](project_git/) module with BitBucket integration.
[project_git_github](project_git_github/) | 11.0.1.0.0 | Module which extends [project_git](project_git/) module with GitHub integration.
[project_git_gitlab](project_git_gitlab/) | 11.0.1.0.0 | Module which extends [project_git](project_git/) module with GitLab integration.
[project_key](project_key/) | 11.0.1.0.0 | Module which brings functionality to uniquely identify projects and tasks by simple auto generated ``key`` field.
[project_portal](project_portal/) | 11.0.1.0.0 | Module which extends project portal controller to be more extendable.
[project_task_archiving](project_task_archiving/) | 11.0.1.0.0 | Module which enables task archiving based on number of days task stays in a specific stage.
[project_timesheet_category](project_timesheet_category/) | 11.0.1.0.0 | Module which brings categorization to the project timesheet.
[project_workflow](project_workflow/) | 11.0.1.0.0 | This module provides functionality to create fully configurable workflow around ``project.task``
[project_workflow_action](project_workflow_action/) | 11.0.1.0.0 | This module provides functionality to execute server actions when executing task workflow.
[project_workflow_default_state_per_group](project_workflow_default_state_per_group/) | 11.0.1.0.0 | This module provides functionality to assign different initial state to task depending on the security group.
[project_workflow_security](project_workflow_security/) | 11.0.1.0.0 | Module which extends [project_workflow](project_workflow/) to provide allowed security groups for workflow transitions.
[project_workflow_transitions_by_project](project_workflow_transitions_by_project/) | 11.0.1.0.0 | Module which extends [project_workflow](project_workflow/) to provide project constraints for workflow transitions.
[web_diagram_position](web_diagram_position/) | 11.0.1.0.0 | Module provides functionality to save workflow elements coordinates.
[web_ir_actions_act_multi](web_ir_actions_act_multi/) | 11.0.1.0.0 | Module which brings new type of action to ActionManager which can execute provided list of actions.
[web_ir_actions_act_view_reload](web_ir_actions_act_view_reload/) | 11.0.1.0.0 | Module which brings new type of action to ActionManager which can reload currently active view only.
[web_syncer](web_syncer/) | 11.0.1.0.0 | Module which provides generic interface to receive CUD model notifications on web client side.
[web_widget_image_url](web_widget_image_url/) | 11.0.1.0.0 | Module which provides web widget for displaying image from an URL.

[//]: # (end addons)


Roadmap
=======
Roadmap for further development can be found [here](roadmap.md).

Credits
=======

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

* Igor Jovanović <[email protected]>
* Petar Najman <[email protected]>
* Aleksandar Gajić <[email protected]>
* Jasmina Nikolić <[email protected]>
* Sladjan Kantar <[email protected]>
* Miroslav Nikolić <[email protected]>
* Mladen Meseldžija <[email protected]>

Maintainer
----------
![Modoolar logo](https://www.modoolar.com/web/image/ir.attachment/3461/datas)

This repository is maintained by Modoolar.

As Odoo Gold partner, our company is specialized in Odoo ERP customization and business solutions development.
Beside that, we build cool apps on top of Odoo platform.

To contribute to this module, please visit https://modoolar.com
38 changes: 38 additions & 0 deletions project_agile/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.. image:: https://www.gnu.org/graphics/lgplv3-147x51.png
:target: https://www.gnu.org/licenses/lgpl-3.0.en.html
:alt: License: LGPL-v3

=============
Project Agile
=============

This module provides core framework for development of the agile methodologies like kanban, scrum, scrumban, etc


Credits
=======


Contributors
------------
* Aleksandar Gajić <[email protected]>
* Petar Najman <[email protected]>
* Jasmina Nikolić <[email protected]>
* Igor Jovanović <[email protected]>
* Miroslav Nikolić <[email protected]>

Maintainer
----------

.. image:: https://www.modoolar.com/web/image/ir.attachment/3461/datas
:alt: Modoolar
:target: https://modoolar.com

This module is maintained by Modoolar.

::

As Odoo Gold partner, our company is specialized in Odoo ERP customization and business solutions development.
Beside that, we build cool apps on top of Odoo platform.

To contribute to this module, please visit https://modoolar.com
8 changes: 8 additions & 0 deletions project_agile/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright 2017 - 2018 Modoolar <[email protected]>
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).

from . import tools
from . import controllers
from . import models
from . import wizards
from .hooks import post_init_hook
59 changes: 59 additions & 0 deletions project_agile/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Copyright 2017 - 2018 Modoolar <[email protected]>
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
{
"name": "Project Agile",
"summary": "Framework for development of agile methodologies",
"category": "Project",
"version": "11.0.1.0.0",
"license": "LGPL-3",
"author": "Modoolar",
"website": "https://www.modoolar.com/",
"depends": [
"web",
"project_key",
"project_workflow",
"hr_timesheet",
"website",
"web_editor",
"project_portal",
"project_task_archiving",
],

"data": [
# security
"security/security.xml",
"security/ir.model.access.csv",

# wizards
"wizards/board_export_wizard.xml",
"wizards/board_import_wizard.xml",
"wizards/board_create_wizard.xml",
"wizards/project_task_worklog_wizard.xml",
"wizards/add_subtask_wizard.xml",
"wizards/add_task_link_wizard.xml",
"wizards/stage_change_confirmation_wizard.xml",

# views
"views/project_project_views.xml",
"views/project_task_views.xml",
"views/project_workflow.xml",
"views/project_agile_team_views.xml",
"views/project_agile_board_views.xml",
"views/project_agile.xml",

# Menus
"views/menu.xml",

# data
"data/project_task.xml",
"data/project_project.xml",
],

"demo": [
],

"qweb": ["static/src/xml/*.xml"],
"post_init_hook": "post_init_hook",
"application": False,
"installable": True,
}
4 changes: 4 additions & 0 deletions project_agile/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2017 - 2018 Modoolar <[email protected]>
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).

from . import portal
62 changes: 62 additions & 0 deletions project_agile/controllers/portal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Copyright 2017 - 2018 Modoolar <[email protected]>
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).

from odoo import _
from odoo.http import request
from odoo.osv.expression import OR
from odoo.addons.project_portal.controllers.portal import CustomerPortal


class CustomerPortal(CustomerPortal):

def portal_my_tasks_prepare_searchbar(self):
searchbar = super(CustomerPortal, self).\
portal_my_tasks_prepare_searchbar()

searchbar['sorting'].update({
'type': {'label': _('Type'), 'order': 'type_id'},
'priority': {'label': _('Priority'), 'order': 'priority_id'},
})

return searchbar

def portal_my_tasks_prepare_task_search_domain(self, search_in, search):
domain = super(CustomerPortal, self).\
portal_my_tasks_prepare_task_search_domain(search_in, search)

if search and search_in:
if search_in in ('content', 'all'):
domain = OR([domain, [
'|',
('type_id', 'ilike', search),
('priority_id', 'ilike', search)
]])
return domain

def portal_my_tasks_prepare_values(self,
page=1, date_begin=None, date_end=None,
sortby=None, filterby=None, search=None,
search_in='content', **kw):

values = super(CustomerPortal, self).portal_my_tasks_prepare_values(
page, date_begin, date_end, sortby,
filterby, search, search_in, **kw
)

values["priorities"] = request.env["project.task.priority"]\
.sudo().search([])

values["types"] = request.env["project.task.type2"]\
.sudo().search([])
return values

def portal_my_task_prepare_values(self, task_id=None, **kw):
values = super(CustomerPortal, self)\
.portal_my_task_prepare_values(task_id, **kw)

values["types"] = request.env["project.task.type2"]\
.sudo().search([])

values["priorities"] = request.env["project.task.priority"]\
.sudo().search([])
return values
52 changes: 52 additions & 0 deletions project_agile/data/project_project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
# Copyright 2017 - 2018 Modoolar <[email protected]>
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
-->
<odoo>
<data noupdate="1">
<record id="project_type_software" model="project.type">
<field name="name">Software</field>
<field name="description">This type is for software developing projects.</field>
<field name="active" eval="True"/>
<field name="default_task_type_id" ref="project_task_type_task"/>
<field name="task_type_ids" eval="[(6, 0, [
ref('project_task_type_task'),
ref('project_task_type_bug'),
ref('project_task_type_story'),
ref('project_task_type_epic'),
])]"
/>
</record>

<record id="project_type_technical_support" model="project.type">
<field name="name">Technical Support</field>
<field name="description">This type is for technical support projects.</field>
<field name="active" eval="True"/>
<field name="default_task_type_id" ref="project_task_type_it_help"/>
<field name="task_type_ids" eval="[(6, 0, [
ref('project_task_type_it_help'),
ref('project_task_type_improvement'),
ref('project_task_type_change'),
ref('project_task_type_access'),
ref('project_task_type_fault'),
ref('project_task_type_purchase'),
ref('project_task_type_new_feature'),
])]"
/>
</record>

<record id="project_type_business" model="project.type">
<field name="name">Business</field>
<field name="description">This type is for general business projects. It is used by default if not specified.</field>
<field name="active" eval="True"/>
<field name="default_task_type_id" ref="project_task_type_task"/>
<field name="task_type_ids" eval="[(6, 0, [
ref('project_task_type_purchase'),
ref('project_task_type_task'),
ref('project_task_type_change'),
])]"
/>
</record>
</data>
</odoo>
Loading

0 comments on commit 48e68bb

Please sign in to comment.