Skip to content

Commit

Permalink
[IMP] project_scrum: black, isort
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando La Chica committed Nov 22, 2020
1 parent 89812b2 commit 58258cc
Show file tree
Hide file tree
Showing 25 changed files with 876 additions and 855 deletions.
1 change: 0 additions & 1 deletion project_scrum/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright <2017> <Tenovar Ltd>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import models
61 changes: 30 additions & 31 deletions project_scrum/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
# -*- coding: utf-8 -*-
# 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': '10.0.1.0.1',
'category': 'Project Management',
'author': "Odoo Community Association (OCA)",
'website': 'https://github.com/OCA/project-agile',
'depends': [
'base_setup',
'project',
'project_task_code',
'project_stage_state',
'mail',
"name": "Project Scrum",
"summary": "Use Scrum Method to manage your project",
"version": "10.0.1.0.1",
"category": "Project Management",
"author": "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project-agile",
"depends": [
"base_setup",
"project",
"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',
"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,
"demo": ["demo/project_scrum_demo.xml"],
"installable": True,
"license": "AGPL-3",
"application": True,
}
11 changes: 4 additions & 7 deletions project_scrum/data/project_scrum_test_task_view.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<record model="ir.values" id="ps_make_test_task">
<field name="model_id" ref="model_project_scrum_sprint"/>
<field name="model_id" ref="model_project_scrum_sprint" />
<field name="name">Create tasks for test</field>
<field name="key2">client_action_multi</field>
<field name="key">action</field>
<field name="model">project.scrum.sprint</field>
</record>

<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="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="condition">True</field>
<field name="menu_ir_values_id" ref="ps_make_test_task"/>
<field name="menu_ir_values_id" ref="ps_make_test_task" />
</record>

</odoo>
6 changes: 1 addition & 5 deletions project_scrum/data/sequences_projects.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>

<?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>
Loading

0 comments on commit 58258cc

Please sign in to comment.