Devishree Brahmbhatt (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-859586-dbr into 
lp:openobject-addons.

Requested reviews:
  Bhumika (OpenERP) (sbh-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-859586-dbr/+merge/77150

Hello Ma'am,

Fixes : "open opportunities by default"
So, kindly review this.

Thank You.

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-859586-dbr/+merge/77150
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-859586-dbr.
=== modified file 'crm/crm_lead_menu.xml'
--- crm/crm_lead_menu.xml	2011-09-06 13:04:29 +0000
+++ crm/crm_lead_menu.xml	2011-09-27 11:53:25 +0000
@@ -62,7 +62,7 @@
           <field name="res_model">crm.lead</field>
           <field name="view_mode">tree,form,graph,calendar,kanban</field>
           <field name="domain">[('type','=','opportunity')]</field>
-          <field name="context">{'search_default_user_id':uid,'search_default_current':1, 'search_default_section_id':section_id, 'stage_type': 'opportunity', 'default_type': 'opportunity'}</field>
+          <field name="context">{'search_default_user_id':uid,'search_default_current':1, 'search_default_open':1,'search_default_section_id':section_id, 'stage_type': 'opportunity', 'default_type': 'opportunity'}</field>
           <field name="view_id" ref="crm_case_tree_view_oppor"/>
           <field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
           <field name="help">With opportunities you can manage and keep track of your sales pipeline by creating specific customer- or prospect-related sales documents to follow up potential sales. Information such as expected revenue, opportunity stage, expected closing date, communication history and much more can be stored. Opportunities can be connected to the email gateway: new emails may create opportunities, each of them automatically gets the history of the conversation with the customer.

=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml	2011-09-26 15:44:53 +0000
+++ crm/crm_lead_view.xml	2011-09-27 11:53:25 +0000
@@ -679,6 +679,7 @@
                     domain="[('state','=','draft')]"/>
                 <filter icon="terp-camera_test"
                     string="Open"  help="Open Opportunities"
+                    name="open"
                     domain="[('state','=','open')]"/>
                 <filter icon="terp-gtk-media-pause"
                     string="Pending"  help="Pending Opportunities"

_______________________________________________
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