Divyesh Makwana(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-first_10_clicks_project_issue-mdi into 
lp:openobject-addons.

Requested reviews:
  Purnendu Singh (OpenERP) (psi-tinyerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-first_10_clicks_project_issue-mdi/+merge/113330

Hello Sir,

In Order to improve user experience, I have improved the following things:

1. Removed the icons from the buttons.

2. Create a task from an issue, the project should be the same as in issues.

3. Create an issues and quick create a project from the issues, the issues 
tracking check-box in project should be true.

Thanks,
Divyesh


-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-first_10_clicks_project_issue-mdi/+merge/113330
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-first_10_clicks_project_issue-mdi.
=== modified file 'project_issue/project_issue_view.xml'
--- project_issue/project_issue_view.xml	2012-07-13 14:26:22 +0000
+++ project_issue/project_issue_view.xml	2012-07-27 06:19:20 +0000
@@ -93,6 +93,7 @@
                 <form version="7.0">
                 <header>
                     <span groups="base.group_user">
+                        <!--
                         <button name="case_open" string="Open" type="object"
                                 states="draft,pending" class="oe_highlight"/>
                         <button name="case_close" string="Done" type="object"
@@ -101,15 +102,18 @@
                                 states="draft,pending"/>
                         <button name="case_pending" string="Pending" type="object"
                                 states="draft,open"/>
+                         -->
                         <button name="case_escalate" string="Escalate" type="object"
                                 states="draft,open,pending"/>
+                        <!--
                         <button name="case_reset" string="Reset to New" type="object"
                                 states="cancelled,done"/>
+                        -->
                         <button name="stage_previous" string="Previous Stage" type="object"
-                                states="open,pending" icon="gtk-go-back"
+                                states="open,pending"
                                 attrs="{'invisible': [('stage_id','=', False)]}"/>
                         <button name="stage_next" string="Next Stage" type="object"
-                                states="open,pending" icon="gtk-go-forward"
+                                states="open,pending"
                                 attrs="{'invisible': [('stage_id','=', False)]}"/>
                         <button name="case_cancel" string="Cancel" type="object"
                                 states="draft,open,pending"/>
@@ -127,10 +131,10 @@
                         </group>
                         <group>
                             <field name="priority"/>
-                            <field name="project_id" required="True" on_change="on_change_project(project_id)"/>
+                            <field name="project_id" required="True" on_change="on_change_project(project_id)" context="{'default_use_issues':1}"/>
                             <label for="task_id"/>
                             <div>
-                                <field name="task_id" on_change="onchange_task_id(task_id)" class="oe_inline"/>
+                                <field name="task_id" on_change="onchange_task_id(task_id)" class="oe_inline" context="{'default_project_id':project_id}"/>
                                 <field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}" class="oe_inline"/>
                             </div>
                         </group>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to