Merge lp:~vauxoo/addons-vauxoo/7.0-user-story-fields-responsible-gaby into lp:addons-vauxoo/7.0

Proposed by Gabriela Quilarque
Status: Merged
Merged at revision: 893
Proposed branch: lp:~vauxoo/addons-vauxoo/7.0-user-story-fields-responsible-gaby
Merge into: lp:addons-vauxoo/7.0
Diff against target: 106 lines (+40/-5)
3 files modified
user_story/i18n/es.po (+26/-0)
user_story/model/user_story.py (+3/-1)
user_story/view/userstory_view.xml (+11/-4)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/7.0-user-story-fields-responsible-gaby
Reviewer Review Type Date Requested Status
Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com Pending
Review via email: mp+192408@code.launchpad.net

Description of the change

Added 1 new field, 1 new menu with domain.
Added help for two fields an translation.
Modified field old.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'user_story/i18n/es.po'
2--- user_story/i18n/es.po 2013-08-20 20:14:18 +0000
3+++ user_story/i18n/es.po 2013-10-23 21:49:43 +0000
4@@ -524,3 +524,29 @@
5 #: view:user.story:0
6 msgid "User Story Number: "
7 msgstr "Historia de usuario número: "
8+
9+#. module: user_story
10+#: field:user.story,user_id:0
11+msgid "Responsible Supervisor"
12+msgstr "Supervisor Responsable"
13+
14+#. module: user_story
15+#: field:user.story,user_execute_id:0
16+msgid "Responsible Execution"
17+msgstr "Responsable de Ejecución"
18+
19+#. module: user_story
20+#: help:user.story,user_execute_id:0
21+msgid "Person responsible for user story takes place, either by delegating work to other human capital or running it by itself. For delegate work should monitor the proper implementation of associated activities."
22+msgstr "Persona responsable de que la historia de usuario se lleve a cabo, bien sea delegando trabajo a otro capital humano o ejecutandolo por si misma. En el caso de delegar trabajo se debe supervisar la correcta ejecución de las actividades asociadas."
23+
24+#. module: user_story
25+#: help:user.story,user_id:0
26+msgid "Person responsible for interacting with the client to give details of the progress or completion of the User History, in some cases also the supervisor for the correct execution of the user story."
27+msgstr "Persona responsable de interactuar con el cliente para dar detalles del avance o finalización de la Historia de Usuario, en algunos casos también es el supervisor de la correcta ejecución de la historia de usuario."
28+
29+#. module: user_story
30+#: model:ir.actions.act_window,name:user_story.action_my_user_story
31+#: model:ir.ui.menu,name:user_story.menu_action_my_user_story
32+msgid "My User Stories Exc"
33+msgstr "Mis H.U. a Ejecutar"
34
35=== modified file 'user_story/model/user_story.py'
36--- user_story/model/user_story.py 2013-08-20 17:18:57 +0000
37+++ user_story/model/user_story.py 2013-10-23 21:49:43 +0000
38@@ -108,7 +108,8 @@
39
40 'asumption': fields.text('Asumptions'),
41 'date': fields.date('Date'),
42- 'user_id': fields.many2one('res.users', 'Create User'),
43+ 'user_id': fields.many2one('res.users', 'Responsible Supervisor',help="Person responsible for interacting with the client to give details of the progress or completion of the User History, in some cases also the supervisor for the correct execution of the user story."),
44+ 'user_execute_id': fields.many2one('res.users', 'Responsible Execution',help="Person responsible for user story takes place, either by delegating work to other human capital or running it by itself. For delegate work should monitor the proper implementation of associated activities."),
45 'sk_id': fields.many2one('sprint.kanban', 'Sprint Kanban'),
46 'state': fields.selection(_US_STATE, 'State', readonly=True),
47 'task_ids': fields.function(_get_tasks, type='many2many',
48@@ -124,6 +125,7 @@
49 'name': lambda *a: None,
50 'date': lambda *a: time.strftime('%Y-%m-%d'),
51 'user_id': lambda self, cr, uid, ctx: uid,
52+ 'user_execute_id': lambda self, cr, uid, ctx: uid,
53 'state': 'draft',
54 'priority_level':'secondary',
55 }
56
57=== modified file 'user_story/view/userstory_view.xml'
58--- user_story/view/userstory_view.xml 2013-10-09 14:26:39 +0000
59+++ user_story/view/userstory_view.xml 2013-10-23 21:49:43 +0000
60@@ -40,6 +40,7 @@
61 <field name="owner" select="1"/>
62 <field name="date" select="1"/>
63 <field name="user_id"/>
64+ <field name="user_execute_id"/>
65 <field name="code"/>
66 </group>
67 <group>
68@@ -141,8 +142,6 @@
69 <field name="arch" type="xml">
70 <search string="User Story">
71 <group string="Filter">
72- <filter icon="terp-camera_test" string="My User Story's" name="current" domain="[('user_id','=',uid)]"/>
73- <separator orientation="vertical"/>
74 <field name="id"/>
75 <field name="project_id"/>
76 <field name="code"/>
77@@ -174,13 +173,20 @@
78 </field>
79 </record>
80
81-
82+ <record model="ir.actions.act_window" id="action_my_user_story">
83+ <field name="name">My User Stories Exc</field>
84+ <field name="res_model">user.story</field>
85+ <field name="view_type">form</field>
86+ <field name="view_mode">tree,form</field>
87+ <field name="domain">[('user_id','=',uid),('state','not in',('cancel','done'))]</field>
88+ <field name="view_id" ref="view_userstory_tree"/>
89+ </record>
90+
91 <record model="ir.actions.act_window" id="action_user_story">
92 <field name="name">User Story</field>
93 <field name="res_model">user.story</field>
94 <field name="view_type">form</field>
95 <field name="view_mode">tree,form</field>
96- <field name="context">{"search_default_current": uid}</field>
97 <field name="search_view_id" ref="view_userstory_search"/>
98 <field name="help" type="html">
99 <p class="oe_view_nocontent_create">Behaviour-driven development is an
100@@ -195,6 +201,7 @@
101 </field>
102 </record>
103 <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"/>
104+ <menuitem parent="project.menu_project_management" id="menu_action_my_user_story" action="action_my_user_story" groups="user_story.group_user_story_manager,user_story.group_user_story_user"/>
105 </data>
106 </openerp>
107