1
<?xml version='1.0' encoding='UTF-8'?>
5
<record model="ir.ui.view" id="inherit_tasks_userstory_form_view">
6
<field name="name">inherit.userstory.sprint.kanban</field>
7
<field name="model">project.task</field>
8
<field name="inherit_id" ref="project.view_task_form2"/>
9
<field name="arch" type="xml">
12
<xpath expr="//field[@name='date_deadline']" position="after">
13
<field name="userstory_id" on_change="onchange_user_story_task(userstory_id)"/>
19
<record model="ir.ui.view" id="inherit_tasks_userstory_branch_clone_form_view">
20
<field name="name">inherit.userstory.sprint.kanban</field>
21
<field name="model">project.task</field>
22
<field name="type">form</field>
23
<field name="inherit_id" ref="sprint_kanban.inherit_tasks_sprint_kanban_form_view" />
24
<field name="arch" type="xml">
27
<xpath expr="//field[@name='res_id']" position="after">
28
<field name="branch_to_clone" />
34
<record id="view_task_search_form_user_story_m2o" model="ir.ui.view">
35
<field name="name">project.task.search.form.user.story_m2o</field>
36
<field name="model">project.task</field>
37
<field name="inherit_id" ref="project.view_task_search_form"/>
38
<field name="arch" type="xml">
39
<xpath expr="//filter[@string="Stage"]" position="after">
41
<filter string="User Story" name="group_user_story_id" icon="terp-stage" domain="[]" context="{'group_by':'userstory_id'}"/>
46
<record id="view_project_form_descriptions" model="ir.ui.view">
47
<field name="name">project.description</field>
48
<field name="model">project.project</field>
49
<field name="inherit_id" ref="project.edit_project"/>
50
<field name="arch" type="xml">
51
<xpath expr="//page[last()]" position="after">
52
<page string="Description">
53
<field name="descriptions" widget="html" attrs="{'readonly':[('state','=','done')]}" placeholder="Add Description .." />
59
<record id="view_task_tree_us_m2o" model="ir.ui.view">
60
<field name="name">project.task.tree.us.m2o</field>
61
<field name="model">project.task</field>
62
<field name="inherit_id" ref="project.view_task_tree2"/>
63
<field name="arch" type="xml">
64
<xpath expr="//field[@name="stage_id"]" position="after">
65
<field name="userstory_id"/>
67
<xpath expr='//field[@name="planned_hours"]' position='attributes'>
68
<attribute name="widget">float_time</attribute>
69
<attribute name="sum">Planned Hours</attribute>