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
=== modified file 'user_story/i18n/es.po'
--- user_story/i18n/es.po 2013-08-20 20:14:18 +0000
+++ user_story/i18n/es.po 2013-10-23 21:49:43 +0000
@@ -524,3 +524,29 @@
524#: view:user.story:0524#: view:user.story:0
525msgid "User Story Number: "525msgid "User Story Number: "
526msgstr "Historia de usuario número: "526msgstr "Historia de usuario número: "
527
528#. module: user_story
529#: field:user.story,user_id:0
530msgid "Responsible Supervisor"
531msgstr "Supervisor Responsable"
532
533#. module: user_story
534#: field:user.story,user_execute_id:0
535msgid "Responsible Execution"
536msgstr "Responsable de Ejecución"
537
538#. module: user_story
539#: help:user.story,user_execute_id:0
540msgid "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."
541msgstr "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."
542
543#. module: user_story
544#: help:user.story,user_id:0
545msgid "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."
546msgstr "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."
547
548#. module: user_story
549#: model:ir.actions.act_window,name:user_story.action_my_user_story
550#: model:ir.ui.menu,name:user_story.menu_action_my_user_story
551msgid "My User Stories Exc"
552msgstr "Mis H.U. a Ejecutar"
527553
=== modified file 'user_story/model/user_story.py'
--- user_story/model/user_story.py 2013-08-20 17:18:57 +0000
+++ user_story/model/user_story.py 2013-10-23 21:49:43 +0000
@@ -108,7 +108,8 @@
108 108
109 'asumption': fields.text('Asumptions'),109 'asumption': fields.text('Asumptions'),
110 'date': fields.date('Date'),110 'date': fields.date('Date'),
111 'user_id': fields.many2one('res.users', 'Create User'),111 '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."),
112 '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."),
112 'sk_id': fields.many2one('sprint.kanban', 'Sprint Kanban'),113 'sk_id': fields.many2one('sprint.kanban', 'Sprint Kanban'),
113 'state': fields.selection(_US_STATE, 'State', readonly=True),114 'state': fields.selection(_US_STATE, 'State', readonly=True),
114 'task_ids': fields.function(_get_tasks, type='many2many',115 'task_ids': fields.function(_get_tasks, type='many2many',
@@ -124,6 +125,7 @@
124 'name': lambda *a: None,125 'name': lambda *a: None,
125 'date': lambda *a: time.strftime('%Y-%m-%d'),126 'date': lambda *a: time.strftime('%Y-%m-%d'),
126 'user_id': lambda self, cr, uid, ctx: uid,127 'user_id': lambda self, cr, uid, ctx: uid,
128 'user_execute_id': lambda self, cr, uid, ctx: uid,
127 'state': 'draft',129 'state': 'draft',
128 'priority_level':'secondary',130 'priority_level':'secondary',
129 }131 }
130132
=== modified file 'user_story/view/userstory_view.xml'
--- user_story/view/userstory_view.xml 2013-10-09 14:26:39 +0000
+++ user_story/view/userstory_view.xml 2013-10-23 21:49:43 +0000
@@ -40,6 +40,7 @@
40 <field name="owner" select="1"/>40 <field name="owner" select="1"/>
41 <field name="date" select="1"/>41 <field name="date" select="1"/>
42 <field name="user_id"/>42 <field name="user_id"/>
43 <field name="user_execute_id"/>
43 <field name="code"/>44 <field name="code"/>
44 </group>45 </group>
45 <group>46 <group>
@@ -141,8 +142,6 @@
141 <field name="arch" type="xml">142 <field name="arch" type="xml">
142 <search string="User Story">143 <search string="User Story">
143 <group string="Filter">144 <group string="Filter">
144 <filter icon="terp-camera_test" string="My User Story's" name="current" domain="[('user_id','=',uid)]"/>
145 <separator orientation="vertical"/>
146 <field name="id"/>145 <field name="id"/>
147 <field name="project_id"/>146 <field name="project_id"/>
148 <field name="code"/>147 <field name="code"/>
@@ -174,13 +173,20 @@
174 </field>173 </field>
175 </record>174 </record>
176 175
177176 <record model="ir.actions.act_window" id="action_my_user_story">
177 <field name="name">My User Stories Exc</field>
178 <field name="res_model">user.story</field>
179 <field name="view_type">form</field>
180 <field name="view_mode">tree,form</field>
181 <field name="domain">[('user_id','=',uid),('state','not in',('cancel','done'))]</field>
182 <field name="view_id" ref="view_userstory_tree"/>
183 </record>
184
178 <record model="ir.actions.act_window" id="action_user_story">185 <record model="ir.actions.act_window" id="action_user_story">
179 <field name="name">User Story</field>186 <field name="name">User Story</field>
180 <field name="res_model">user.story</field>187 <field name="res_model">user.story</field>
181 <field name="view_type">form</field>188 <field name="view_type">form</field>
182 <field name="view_mode">tree,form</field>189 <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"/>190 <field name="search_view_id" ref="view_userstory_search"/>
185 <field name="help" type="html">191 <field name="help" type="html">
186 <p class="oe_view_nocontent_create">Behaviour-driven development is an 192 <p class="oe_view_nocontent_create">Behaviour-driven development is an
@@ -195,6 +201,7 @@
195 </field>201 </field>
196 </record>202 </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"/>203 <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"/>
204 <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"/>
198 </data>205 </data>
199</openerp>206</openerp>
200207