You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.4 KiB
55 lines
2.4 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- SPRINT TREE VIEW-->
|
|
<record id="jira_sprint_view_tree" model="ir.ui.view">
|
|
<field name="name">jira.sprint.view.tree</field>
|
|
<field name="model">jira.sprint</field>
|
|
<field name="arch" type="xml">
|
|
<tree>
|
|
<field name="name" />
|
|
<field name="sprint_goal"/>
|
|
<field name="start_date"/>
|
|
<field name="end_date"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
<!-- SPRINT FORM VIEW-->
|
|
<record id="jira_sprint_view_form" model="ir.ui.view">
|
|
<field name="name">jira.sprint.view.form</field>
|
|
<field name="model">jira.sprint</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<header>
|
|
</header>
|
|
<sheet>
|
|
<div class="oe_button_box" name="button_box">
|
|
<button string="Tasks" class="oe_stat_button" type="object" name="action_get_tasks"/>
|
|
<button string="Backlogs" class="oe_stat_button" type="object" name="action_get_backlogs"/>
|
|
<button string="All tasks" class="oe_stat_button" type="object" name="action_get_all_tasks"/>
|
|
</div>
|
|
<group>
|
|
<h3>
|
|
<field name="name" placeholder="Sprint name...." help="Enter name of the sprint."/>
|
|
</h3>
|
|
<group>
|
|
<field name="start_date" help="Start date of sprint."/>
|
|
<field name="end_date" help="End date of sprint."/>
|
|
<field name="project_id" help="Related project."/>
|
|
<field name="sprint_id_jira" help="Sprint id of Jira."/>
|
|
</group>
|
|
<notebook>
|
|
<page string="Goals">
|
|
<field name="sprint_goal" widget="html" help="Goals of the sprint."/>
|
|
</page>
|
|
</notebook>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record id="jira_sprint_view_action" model="ir.actions.act_window">
|
|
<field name="name">Sprint</field>
|
|
<field name="res_model">jira.sprint</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
</odoo>
|