Merge lp:~herrera-dev/addons-vauxoo/new_changes_user_story into lp:addons-vauxoo

Proposed by Luis Torres
Status: Needs review
Proposed branch: lp:~herrera-dev/addons-vauxoo/new_changes_user_story
Merge into: lp:addons-vauxoo
Diff against target: 124 lines (+58/-3) (has conflicts)
5 files modified
user_story/__openerp__.py (+1/-0)
user_story/data/data.xml (+44/-0)
user_story/model/user_story.py (+2/-2)
user_story/view/project_view.xml (+1/-1)
user_story/view/userstory_view.xml (+10/-0)
Text conflict in user_story/view/userstory_view.xml
To merge this branch: bzr merge lp:~herrera-dev/addons-vauxoo/new_changes_user_story
Reviewer Review Type Date Requested Status
Nhomar - Vauxoo Needs Fixing
Gabriela Quilarque Pending
Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com Pending
Review via email: mp+156870@code.launchpad.net

Description of the change

-Agregado domain a user story en la tarea, para que filtre por las user story que esten en el sprint.
-Agregado en la sección Following la posibilidad de seleccionar los eventos a seguir.
-Eliminada la pestaña "Comments" en user story.

To post a comment you must log in.
Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Hola Luis.

Puedes revisar que el Merge tiene problemas con inconsistencias entre las líneas 105 y 121 del diff (ver abajo)

Por otro lado tu mensaje de Merge indica que agregas un Dominio pero agregas un data.xml en el __openerp__.py y el respectivo archivo, me cuentas de que se trata esto?

Saludos.

review: Needs Fixing

Unmerged revisions

524. By luistp13

[ADD]agregado domain en tasks que filtre por las user story que esten en el sprint

523. By luistp13

[FIX] Eliminada pestaña comments en user_story
[ADD] Agregado archivo data a user story para cargar los eventos en la seccion Following

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'user_story/__openerp__.py'
2--- user_story/__openerp__.py 2013-03-26 05:04:11 +0000
3+++ user_story/__openerp__.py 2013-04-03 14:41:14 +0000
4@@ -59,6 +59,7 @@
5 "security/ir.model.access.csv",
6 "view/userstory_view.xml",
7 "view/project_view.xml",
8+ "data/data.xml",
9 ],
10 "active": False,
11 "images": [],
12
13=== added directory 'user_story/data'
14=== added file 'user_story/data/data.xml'
15--- user_story/data/data.xml 1970-01-01 00:00:00 +0000
16+++ user_story/data/data.xml 2013-04-03 14:41:14 +0000
17@@ -0,0 +1,44 @@
18+<?xml version="1.0" encoding="utf-8"?>
19+<openerp>
20+ <data>
21+
22+ <!-- Task-related subtypes for messaging / Chatter -->
23+ <record id="mt_task_new" model="mail.message.subtype">
24+ <field name="name">Task Created</field>
25+ <field name="res_model">user.story</field>
26+ <field name="default" eval="False"/>
27+ <field name="description">Task created</field>
28+ </record>
29+ <record id="mt_task_started" model="mail.message.subtype">
30+ <field name="name">Task Started</field>
31+ <field name="res_model">user.story</field>
32+ <field name="default" eval="False"/>
33+ <field name="description">Task started</field>
34+ </record>
35+ <record id="mt_task_blocked" model="mail.message.subtype">
36+ <field name="name">Task Blocked</field>
37+ <field name="res_model">user.story</field>
38+ <field name="default" eval="False"/>
39+ <field name="description">Task blocked</field>
40+ </record>
41+ <record id="mt_task_closed" model="mail.message.subtype">
42+ <field name="name">Task Done</field>
43+ <field name="res_model">user.story</field>
44+ <field name="default" eval="False"/>
45+ <field name="description">Task closed</field>
46+ </record>
47+ <record id="mt_task_stage" model="mail.message.subtype">
48+ <field name="name">Stage Changed</field>
49+ <field name="res_model">user.story</field>
50+ <field name="default" eval="False"/>
51+ <field name="description">Stage changed</field>
52+ </record>
53+
54+ <!-- Discussion subtype for messaging / Chatter -->
55+ <record id="mt_comment" model="mail.message.subtype">
56+ <field name="name">Discussions</field>
57+ </record>
58+
59+
60+ </data>
61+</openerp>
62
63=== modified file 'user_story/model/user_story.py'
64--- user_story/model/user_story.py 2013-03-19 21:16:50 +0000
65+++ user_story/model/user_story.py 2013-04-03 14:41:14 +0000
66@@ -33,7 +33,7 @@
67 """
68
69 _name = 'user.story'
70- _inherit = ['mail.thread']
71+ _inherit = ['mail.thread', 'ir.needaction_mixin']
72
73 def _get_tasks(self, cr, uid, ids, field_name, arg, context=None):
74 if context is None:
75@@ -157,7 +157,7 @@
76 return {'value': v}
77
78 _columns = {
79- 'userstory_id':fields.many2one('user.story', 'User Story',help="Set hear the User Story related with this task"),
80+ 'userstory_id':fields.many2one('user.story', 'User Story', domain= "[('sk_id', '=', sprint_id)]", help="Set hear the User Story related with this task"),
81
82 }
83 project_task()
84
85=== modified file 'user_story/view/project_view.xml'
86--- user_story/view/project_view.xml 2013-03-13 17:46:37 +0000
87+++ user_story/view/project_view.xml 2013-04-03 14:41:14 +0000
88@@ -11,7 +11,7 @@
89
90
91 <xpath expr="//field[@name='categ_ids']" position="after">
92- <field name="userstory_id" on_change="onchange_user_story_task(userstory_id)"/>
93+ <field name="userstory_id" on_change="onchange_user_story_task(userstory_id)" />
94 </xpath>
95
96 </field>
97
98=== modified file 'user_story/view/userstory_view.xml'
99--- user_story/view/userstory_view.xml 2013-03-26 05:48:50 +0000
100+++ user_story/view/userstory_view.xml 2013-04-03 14:41:14 +0000
101@@ -116,13 +116,23 @@
102 <separator string="Tasks" colspan='4' />
103 <field name="task_ids" colspan="4" nolabel="1" widget="many2many"/>
104 </page>
105+<<<<<<< TREE
106+=======
107+
108+>>>>>>> MERGE-SOURCE
109 </notebook>
110 </sheet>
111 <div class="oe_chatter">
112+<<<<<<< TREE
113 <field name="message_follower_ids" widget="mail_followers" help="Follow this user story to automatically track the events associated to tasks and issues of the project related." groups="base.group_user"/>
114 <field name="message_ids" widget="mail_thread"/>
115 </div>
116
117+=======
118+ <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
119+ <field name="message_ids" widget="mail_thread"/>
120+ </div>
121+>>>>>>> MERGE-SOURCE
122 </form>
123 </field>
124 </record>