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

Requested reviews:
  OpenERP Core Team (openerp)

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-03 12:41:11 +0000
+++ project_issue/project_issue_view.xml	2012-07-04 04:57:21 +0000
@@ -106,10 +106,10 @@
                         <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"/>
@@ -120,14 +120,14 @@
                     <label for="name" class="oe_edit_only"/>
                     <h1><field name="name"/></h1>
                     <label for="project_id" class="oe_edit_only"/>
-                    <h2><field name="project_id" required="True" on_change="on_change_project(project_id)"/></h2>
+                    <h2><field name="project_id" required="True" on_change="on_change_project(project_id)" context="{'default_use_issues':1}"/></h2>
                     <group>
                         <group>
                             <field name="user_id"/>
                             <field name="partner_id"  on_change="onchange_partner_id(partner_id, email_from)"/>
                             <field name="email_from"/>
                         </group><group>
-                            <field name="task_id" on_change="onchange_task_id(task_id)"/>
+                            <field name="task_id" on_change="onchange_task_id(task_id)" context="{'default_project_id':project_id}"/>
                             <field name="categ_id" widget="selection" domain="[('object_id.model', '=', 'project.issue')]"/>
                             <field name="version_id" widget="selection"/>
                             <field name="priority"/>

_______________________________________________
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