← Back to team overview

openerp-community team mailing list archive

[Merge] lp:~openerp-community/openobject-addons/trunk-bug-1113430 into lp:openobject-addons

 

Ishwar Malvi (OpenERP) has proposed merging lp:~openerp-community/openobject-addons/trunk-bug-1113430 into lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1113430 in OpenERP Addons: "[trunk/7.0]Click project kanban should open project's page view instead of task kanban."
  https://bugs.launchpad.net/openobject-addons/+bug/1113430

For more details, see:
https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-1113430/+merge/149796

Project: click on project kanban view should open project form view instead of task kanban
 
-- 
https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-1113430/+merge/149796
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/trunk-bug-1113430.
=== modified file 'project/project_view.xml'
--- project/project_view.xml	2013-01-11 09:47:24 +0000
+++ project/project_view.xml	2013-02-21 11:01:27 +0000
@@ -243,16 +243,16 @@
                                     </ul>
                                 </div>
                                 <div class="oe_kanban_content">
-
+                                    <a type='open'>
                                     <h4><field name="name"/></h4>
                                     <div class="oe_kanban_project_list">
                                         <a t-if="record.use_tasks.raw_value" name="%(act_project_project_2_project_task_all)d" type="action" style="margin-right: 10px"> 
-                                            <span t-if="record.task_count.raw_value gt 1"><field name="task_count"/> Tasks</span>
-                                            <span t-if="record.task_count.raw_value lt 2"><field name="task_count"/> Task</span>
+                                            <t t-if="record.task_count.raw_value gt 1"><field name="task_count"/> Tasks</t>
+                                            <t t-if="record.task_count.raw_value lt 2"><field name="task_count"/> Task</t>
                                         </a>
                                     </div>
                                     <div class="oe_kanban_project_list">
-                                        <a t-if="record.doc_count.raw_value" name="attachment_tree_view" type="object" style="margin-right: 10px"> <field name="doc_count"/> Documents</a>
+                                        <t t-if="record.doc_count.raw_value" name="attachment_tree_view" type="object" style="margin-right: 10px"> <field name="doc_count"/> Documents</t>
                                     </div>
                                     <div class="oe_kanban_footer_left">
                                         <span groups="project.group_time_work_estimation_tasks">
@@ -268,7 +268,7 @@
                                         <t t-foreach="record.members.raw_value.slice(0,11)" t-as="member">
                                             <img t-att-src="kanban_image('res.users', 'image_small', member)" t-att-data-member_id="member"/>
                                         </t>
-                                    </div>
+                                    </div></a>
                                 </div>
                             </div>
                         </t>


Follow ups