~vauxoo/addons-vauxoo/7.0_test_hr_expense_dev_jorge

« back to all changes in this revision

Viewing changes to user_story/view/userstory_view.xml

  • Committer: Jose Morales
  • Date: 2013-04-24 23:51:50 UTC
  • mto: (543.2.97 addons-vauxoo)
  • mto: This revision was merged to the branch mainline in revision 546.
  • Revision ID: jose@vauxoo.com-20130424235150-asguwxuas23psnq5
[V7-MIGRATION]

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<openerp>
3
 
  <data>
4
 
    <!-- Vista -->
5
 
    <record model="ir.ui.view" id="view_userstory_form">
6
 
      <field name="name">user.story.form</field>
7
 
      <field name="model">user.story</field>
8
 
      <field name="type">form</field>
9
 
      <field name="arch" type="xml">
10
 
        <form string="User Story" version="7.0">
11
 
          <header>
12
 
                         <button name="do_draft" string="Draft" type="object" states="open,pending,done,cancelled"/>
13
 
                         <button name="do_progress" string="Progress" type="object" states="draft,pending,done,cancelled"/>
14
 
                         <button name="do_pending" string="Pending" type="object" states="draft,open,done,cancelled"/>
15
 
                         <button name="do_done" string="Done" type="object" states="draft,open,pending,cancelled"/>
16
 
                         <button name="do_cancel" string="Cancel" type="object" states="draft,open,pending,done"/>
17
 
                        <field name="state" widget="statusbar"/>
18
 
                  </header>
19
 
                  <sheet string="User Story">
20
 
            <div class="oe_form_sheet_width">
21
 
                <p class="oe_grey">
22
 
                A deeper explanation about what an user story is can be 
23
 
                found here.
24
 
                <a href="http://dannorth.net/whats-in-a-story/" 
25
 
                target="_NEW">Here more information</a>
26
 
                </p>
27
 
                <p class="oe_grey">
28
 
                Please load as attachment, all documents that support 
29
 
                your explanations 
30
 
                here on xmind or other formats with the explanations 
31
 
                that you need to fill here.
32
 
                An example with all reference about topics you must consider 
33
 
                is available
34
 
                <a href="/user_story/static/src/demo/TestUS.xmind" 
35
 
                target="_NEW">here</a>
36
 
                </p>
37
 
            </div>
38
 
                  <h1><label for="name"  string="1.- Title of the Story"
39
 
                       class="oe_horizontal_separator oe_clear"/></h1>
40
 
                        <h2><field name="name"/></h2>
41
 
                        <group>
42
 
                                <group>
43
 
                                        <field name="owner" />
44
 
                                        <field name="date" />
45
 
                                        <field name="user_id" />
46
 
                                        <field name="code" />
47
 
                                </group>
48
 
                                <group>
49
 
                                        <field name="planned_hours" />
50
 
                                        <field name="sk_id" />
51
 
                                </group>
52
 
                        </group>
53
 
                        <h3>
54
 
                        <label for="project_id" string="2.- Project related"
55
 
                     class="oe_horizontal_separator oe_clear" />
56
 
                        </h3>
57
 
            <div>
58
 
                <p class="oe_grey">
59
 
                            <field name="project_id" 
60
 
                            domain="[('child_ids','=',False)]"
61
 
                            context="{'current_model': 'project.project'}"/>
62
 
                            the link to the project, all projects listed here
63
 
                    are of the lower level available in the Master WBS. This
64
 
                    represent thumbs in your wbs
65
 
                </p>
66
 
            </div>
67
 
          <notebook colspan="4">
68
 
            <page string="Details">
69
 
              <h1><label for="description" 
70
 
                     string="3.- Description" 
71
 
                     colspan='4' 
72
 
                     class="oe_horizontal_separator oe_clear"/></h1>
73
 
                <div>
74
 
                   <p class="oe_grey">
75
 
                    Here in the description, you must be as explícit as you can,
76
 
                    Remember you can upload a Youtube video, and insert 
77
 
                    directly here, embeded as a webpage, you can use vimeo and 
78
 
                    other elements as images, diagrams (using some 
79
 
                    online services) you just must copy and paste the embebed code,
80
 
                    you can see an example about how to do that 
81
 
                    <a href="youtube">here</a>
82
 
                    </p>
83
 
                </div>
84
 
              <field name="description" colspan="4" nolabel="1" 
85
 
              placeholder="Add a description here ..." widget="html"/>
86
 
                      <h1><label for="accep_crit_ids"  
87
 
                           string="4.- Aceptability Criteria"
88
 
                           class="oe_horizontal_separator oe_clear"/></h1>
89
 
              <field name="accep_crit_ids" colspan="4" nolabel="1" >
90
 
                <form string="Acceptability Criteria">
91
 
                  <separator string="3.- Description" colspan='4' />
92
 
                  <field name="name" colspan="4" nolabel="1" />
93
 
                  <separator string="Scenario" colspan='4' />
94
 
                  <field name="scenario" colspan="4" nolabel="1" />
95
 
                  <separator string="Accepted" colspan='4' />
96
 
                  <field name="accepted" colspan="4" nolabel="1" />
97
 
                </form>
98
 
                <tree string="Acceptability Criteria">
99
 
                  <field name="name" />
100
 
                  <field name="scenario" />
101
 
                  <field name="accepted" />
102
 
                </tree>
103
 
              </field>
104
 
            </page>
105
 
          
106
 
            <page string="GAP analysis results">
107
 
                          <label for="info" colspan='4' string="5.- Conclusion of analysis"
108
 
                     class="oe_horizontal_separator oe_clear" />
109
 
              <field name="info" colspan="4" placeholder="Add a other info here ..."/> 
110
 
              <label for="asumption" colspan='4' string="6.- Asumptions"
111
 
                     class="oe_horizontal_separator oe_clear"/>
112
 
              <field name="asumption" colspan="4" placeholder="Add a asumptions here ..."/>
113
 
            </page>
114
 
            
115
 
            <page string="Link">
116
 
              <separator string="Tasks" colspan='4' />
117
 
              <field name="task_ids" colspan="4" nolabel="1" widget="many2many"/>
118
 
            </page>
119
 
          </notebook>
120
 
                  </sheet>
121
 
           <div class="oe_chatter">
122
 
                    <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
123
 
                    <field name="message_ids" widget="mail_thread"/>
124
 
                </div>
125
 
          
126
 
        </form>
127
 
      </field>
128
 
    </record>
129
 
    
130
 
 
131
 
    
132
 
    <record model="ir.ui.view" id="view_userstory_tree">
133
 
      <field name="name">user.story.tree</field>
134
 
      <field name="model">user.story</field>
135
 
      <field name="type">tree</field>
136
 
      <field name="arch" type="xml">
137
 
        <tree string="User Story">
138
 
          <field name="name" />
139
 
          <field name="owner" />
140
 
          <field name="planned_hours" sum="Total hours"/>
141
 
          <field name="project_id" />
142
 
          <field name="user_id" />
143
 
          <field name="sk_id" />
144
 
          <field name="task_ids" />
145
 
        </tree>
146
 
      </field>
147
 
    </record>
148
 
    <record id="view_userstory_search" model="ir.ui.view">
149
 
      <field name="name">user.story.search</field>
150
 
      <field name="model">user.story</field>
151
 
      <field name="type">search</field>
152
 
      <field name="arch" type="xml">
153
 
        <search string="User Story">
154
 
          <group>
155
 
            <filter icon="terp-camera_test" string="My User Story's" name="current" domain="[('user_id','=',uid)]"/>
156
 
            <separator orientation="vertical" />
157
 
            <field name="project_id" />
158
 
            <field name="owner" />
159
 
            <field name="user_id"/>
160
 
            <field name="sk_id"/>
161
 
            <field name="task_ids"/>
162
 
          </group>
163
 
          <newline />
164
 
          <group expand="1" string="Group By...">
165
 
            <filter name="user_story_project" icon="STOCK_INDEX" string="Project" context="{'group_by':'project_id'}" />
166
 
            <separator orientation="vertical" />
167
 
            <filter name="user_story_owner" icon="terp-personal" string="Owner" context="{'group_by':'owner'}" />
168
 
            <separator orientation="vertical" />
169
 
            <filter name="user_story_user_id" icon="terp-personal" string="User" context="{'group_by':'user_id'}" />
170
 
            <separator orientation="vertical" />
171
 
            <filter name="user_story_sk_id" icon="terp-personal" string="Sprint" context="{'group_by':'sk_id'}" />
172
 
            <separator orientation="vertical" />
173
 
            <filter name="user_story_task_ids" icon="terp-personal" string="Task" context="{'group_by':'task_ids'}" />
174
 
          </group>
175
 
        </search>
176
 
      </field>
177
 
    </record>
178
 
    <record model="ir.actions.act_window" id="action_user_story">
179
 
      <field name="name">User Story</field>
180
 
      <field name="res_model">user.story</field>
181
 
      <field name="view_type">form</field>
182
 
      <field name="view_mode">tree,form</field>
183
 
      <field name="context">{"search_default_current": uid}</field>
184
 
      <field name="search_view_id" ref="view_userstory_search" />
185
 
      <field name="help" type="html">
186
 
      <p class="oe_view_nocontent_create">Behaviour-driven development is an 
187
 
      “outside-in” methodology. It starts at the outside by identifying business 
188
 
      outcomes, and then drills down into the feature set that will achieve 
189
 
      those outcomes. Each feature is captured as a “story”, which defines the 
190
 
      scope of the feature along with its acceptance criteria. 
191
 
      This article introduces the BDD approach to defining and identifying 
192
 
      stories and their acceptance criteria.</p><p>
193
 
      <a href="http://dannorth.net/whats-in-a-story/" target="_NEW">Here more information</a>
194
 
      </p>
195
 
      </field>
196
 
    </record>
197
 
    <menuitem parent="project.menu_project_management" id="menu_action_user_story" action="action_user_story" groups="user_story.group_user_story_manager,user_story.group_user_story_user" />
198
 
  </data>
199
 
</openerp>
 
1
<?xml version='1.0' encoding='UTF-8'?>
 
2
<openerp>
 
3
  <data>
 
4
    <!-- Vista -->
 
5
    <record model="ir.ui.view" id="view_userstory_form">
 
6
      <field name="name">user.story.form</field>
 
7
      <field name="model">user.story</field>
 
8
      <field name="arch" type="xml">
 
9
        <form string="User Story" version="7.0">
 
10
          <header>
 
11
                         <button name="do_draft" string="Draft" type="object" states="open,pending,done,cancelled"/>
 
12
                         <button name="do_progress" string="Progress" type="object" states="draft,pending,done,cancelled"/>
 
13
                         <button name="do_pending" string="Pending" type="object" states="draft,open,done,cancelled"/>
 
14
                         <button name="do_done" string="Done" type="object" states="draft,open,pending,cancelled"/>
 
15
                         <button name="do_cancel" string="Cancel" type="object" states="draft,open,pending,done"/>
 
16
                        <field name="state" widget="statusbar"/>
 
17
                  </header>
 
18
                  <sheet string="User Story">
 
19
            <div class="oe_form_sheet_width">
 
20
                <p class="oe_grey">
 
21
                A deeper explanation about what an user story is can be 
 
22
                found here.
 
23
                <a href="http://dannorth.net/whats-in-a-story/" target="_NEW">Here more information</a>
 
24
                </p>
 
25
                <p class="oe_grey">
 
26
                Please load as attachment, all documents that support 
 
27
                your explanations 
 
28
                here on xmind or other formats with the explanations 
 
29
                that you need to fill here.
 
30
                An example with all reference about topics you must consider 
 
31
                is available
 
32
                <a href="/user_story/static/src/demo/TestUS.xmind" target="_NEW">here</a>
 
33
                </p>
 
34
            </div>
 
35
                  <h1><label for="name" string="1.- Title of the Story" class="oe_horizontal_separator oe_clear"/></h1>
 
36
                        <h2><field name="name"/></h2>
 
37
                        <group>
 
38
                                <group>
 
39
                                        <field name="owner"/>
 
40
                                        <field name="date"/>
 
41
                                        <field name="user_id"/>
 
42
                                        <field name="code"/>
 
43
                                </group>
 
44
                                <group>
 
45
                                        <field name="planned_hours"/>
 
46
                                        <field name="sk_id"/>
 
47
                                </group>
 
48
                        </group>
 
49
                        <h3>
 
50
                        <label for="project_id" string="2.- Project related" class="oe_horizontal_separator oe_clear"/>
 
51
                        </h3>
 
52
            <div>
 
53
                <p class="oe_grey">
 
54
                            <field name="project_id" domain="[('child_ids','=',False)]" context="{'current_model': 'project.project'}"/>
 
55
                            the link to the project, all projects listed here
 
56
                    are of the lower level available in the Master WBS. This
 
57
                    represent thumbs in your wbs
 
58
                </p>
 
59
            </div>
 
60
          <notebook colspan="4">
 
61
            <page string="Details">
 
62
              <h1><label for="description" string="3.- Description" colspan="4" class="oe_horizontal_separator oe_clear"/></h1>
 
63
                <div>
 
64
                   <p class="oe_grey">
 
65
                    Here in the description, you must be as explícit as you can,
 
66
                    Remember you can upload a Youtube video, and insert 
 
67
                    directly here, embeded as a webpage, you can use vimeo and 
 
68
                    other elements as images, diagrams (using some 
 
69
                    online services) you just must copy and paste the embebed code,
 
70
                    you can see an example about how to do that 
 
71
                    <a href="youtube">here</a>
 
72
                    </p>
 
73
                </div>
 
74
              <field name="description" colspan="4" nolabel="1" placeholder="Add a description here ..." widget="html"/>
 
75
                      <h1><label for="accep_crit_ids" string="4.- Aceptability Criteria" class="oe_horizontal_separator oe_clear"/></h1>
 
76
              <field name="accep_crit_ids" colspan="4" nolabel="1">
 
77
                <form string="Acceptability Criteria" version="7.0">
 
78
                  <separator string="3.- Description" colspan="4"/>
 
79
                  <field name="name" colspan="4" nolabel="1"/>
 
80
                  <separator string="Scenario" colspan="4"/>
 
81
                  <field name="scenario" colspan="4" nolabel="1"/>
 
82
                  <separator string="Accepted" colspan="4"/>
 
83
                  <field name="accepted" colspan="4" nolabel="1"/>
 
84
                </form>
 
85
                <tree string="Acceptability Criteria">
 
86
                  <field name="name"/>
 
87
                  <field name="scenario"/>
 
88
                  <field name="accepted"/>
 
89
                </tree>
 
90
              </field>
 
91
            </page>
 
92
          
 
93
            <page string="GAP analysis results">
 
94
                          <label for="info" colspan="4" string="5.- Conclusion of analysis" class="oe_horizontal_separator oe_clear"/>
 
95
              <field name="info" colspan="4" placeholder="Add a other info here ..."/> 
 
96
              <label for="asumption" colspan="4" string="6.- Asumptions" class="oe_horizontal_separator oe_clear"/>
 
97
              <field name="asumption" colspan="4" placeholder="Add a asumptions here ..."/>
 
98
            </page>
 
99
            
 
100
            <page string="Link">
 
101
              <separator string="Tasks" colspan="4"/>
 
102
              <field name="task_ids" colspan="4" nolabel="1" widget="many2many"/>
 
103
            </page>
 
104
          </notebook>
 
105
                  </sheet>
 
106
           <div class="oe_chatter">
 
107
                    <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
 
108
                    <field name="message_ids" widget="mail_thread"/>
 
109
                </div>
 
110
          
 
111
        </form>
 
112
      </field>
 
113
    </record>
 
114
    
 
115
 
 
116
    
 
117
    <record model="ir.ui.view" id="view_userstory_tree">
 
118
      <field name="name">user.story.tree</field>
 
119
      <field name="model">user.story</field>
 
120
      <field name="arch" type="xml">
 
121
        <tree string="User Story">
 
122
          <field name="name"/>
 
123
          <field name="owner"/>
 
124
          <field name="planned_hours" sum="Total hours"/>
 
125
          <field name="project_id"/>
 
126
          <field name="user_id"/>
 
127
          <field name="sk_id"/>
 
128
          <field name="task_ids"/>
 
129
        </tree>
 
130
      </field>
 
131
    </record>
 
132
    <record id="view_userstory_search" model="ir.ui.view">
 
133
      <field name="name">user.story.search</field>
 
134
      <field name="model">user.story</field>
 
135
      <field name="arch" type="xml">
 
136
        <search string="User Story">
 
137
          <group>
 
138
            <filter icon="terp-camera_test" string="My User Story's" name="current" domain="[('user_id','=',uid)]"/>
 
139
            <separator orientation="vertical"/>
 
140
            <field name="project_id"/>
 
141
            <field name="owner"/>
 
142
            <field name="user_id"/>
 
143
            <field name="sk_id"/>
 
144
            <field name="task_ids"/>
 
145
          </group>
 
146
          <newline/>
 
147
          <group expand="1" string="Group By...">
 
148
            <filter name="user_story_project" icon="STOCK_INDEX" string="Project" context="{'group_by':'project_id'}"/>
 
149
            <separator orientation="vertical"/>
 
150
            <filter name="user_story_owner" icon="terp-personal" string="Owner" context="{'group_by':'owner'}"/>
 
151
            <separator orientation="vertical"/>
 
152
            <filter name="user_story_user_id" icon="terp-personal" string="User" context="{'group_by':'user_id'}"/>
 
153
            <separator orientation="vertical"/>
 
154
            <filter name="user_story_sk_id" icon="terp-personal" string="Sprint" context="{'group_by':'sk_id'}"/>
 
155
            <separator orientation="vertical"/>
 
156
            <filter name="user_story_task_ids" icon="terp-personal" string="Task" context="{'group_by':'task_ids'}"/>
 
157
          </group>
 
158
        </search>
 
159
      </field>
 
160
    </record>
 
161
    <record model="ir.actions.act_window" id="action_user_story">
 
162
      <field name="name">User Story</field>
 
163
      <field name="res_model">user.story</field>
 
164
      <field name="view_type">form</field>
 
165
      <field name="view_mode">tree,form</field>
 
166
      <field name="context">{"search_default_current": uid}</field>
 
167
      <field name="search_view_id" ref="view_userstory_search"/>
 
168
      <field name="help" type="html">
 
169
      <p class="oe_view_nocontent_create">Behaviour-driven development is an 
 
170
      “outside-in” methodology. It starts at the outside by identifying business 
 
171
      outcomes, and then drills down into the feature set that will achieve 
 
172
      those outcomes. Each feature is captured as a “story”, which defines the 
 
173
      scope of the feature along with its acceptance criteria. 
 
174
      This article introduces the BDD approach to defining and identifying 
 
175
      stories and their acceptance criteria.</p><p>
 
176
      <a href="http://dannorth.net/whats-in-a-story/" target="_NEW">Here more information</a>
 
177
      </p>
 
178
      </field>
 
179
    </record>
 
180
    <menuitem parent="project.menu_project_management" id="menu_action_user_story" action="action_user_story" groups="user_story.group_user_story_manager,user_story.group_user_story_user"/>
 
181
  </data>
 
182
</openerp>
 
 
b'\\ No newline at end of file'