Dhruti Shastri has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-576266-dhs into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576266-dhs/+merge/112071

To reproduce :

If you try to create a new meeting from Opportunities or Phone Calls, 
the meeting is in "Confirmed" state by default. It must be in 
"Unconfirmed" state.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576266-dhs/+merge/112071
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-576266-dhs.
=== modified file 'crm/crm_lead.py'
--- crm/crm_lead.py	2012-06-01 14:17:43 +0000
+++ crm/crm_lead.py	2012-06-26 11:15:39 +0000
@@ -814,7 +814,7 @@
                 'default_user_id': uid,
                 'default_section_id': opp.section_id and opp.section_id.id or False,
                 'default_email_from': opp.email_from,
-                'default_state': 'open',
+                'default_state': 'draft',
                 'default_name': opp.name
             })
             value = {

=== modified file 'crm/crm_phonecall.py'
--- crm/crm_phonecall.py	2012-04-25 08:56:59 +0000
+++ crm/crm_phonecall.py	2012-06-26 11:15:39 +0000
@@ -289,7 +289,8 @@
                         'default_phonecall_id': phonecall.id,
                         'default_partner_id': phonecall.partner_id and phonecall.partner_id.id or False,
                         'default_email': phonecall.email_from ,
-                        'default_name': phonecall.name
+                        'default_name': phonecall.name,
+                        'default_state': 'draft',
                     }
 
             value = {

_______________________________________________
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