Nimesh Contractor(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1083493-nco into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1083493 in OpenERP Addons: "trunk op-out is there but where is opt-in?"
  https://bugs.launchpad.net/openobject-addons/+bug/1083493

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1083493-nco/+merge/138381

Hello,

      Remove opt-out filed.
Thanks,
 NCO.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1083493-nco/+merge/138381
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1083493-nco.
=== modified file 'crm/crm_lead.py'
--- crm/crm_lead.py	2012-12-05 13:37:23 +0000
+++ crm/crm_lead.py	2012-12-06 05:32:20 +0000
@@ -209,7 +209,6 @@
         'channel_id': fields.many2one('crm.case.channel', 'Channel', help="Communication channel (mail, direct, phone, ...)"),
         'contact_name': fields.char('Contact Name', size=64),
         'partner_name': fields.char("Customer Name", size=64,help='The name of the future partner company that will be created while converting the lead into opportunity', select=1),
-        'opt_out': fields.boolean('Opt-Out', oldname='optout', help="If opt-out is checked, this contact has refused to receive emails or unsubscribed to a campaign."),
         'type':fields.selection([ ('lead','Lead'), ('opportunity','Opportunity'), ],'Type', help="Type is used to separate Leads and Opportunities"),
         'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority', select=True),
         'date_closed': fields.datetime('Closed', readonly=True),

=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml	2012-12-05 13:37:23 +0000
+++ crm/crm_lead_view.xml	2012-12-06 05:32:20 +0000
@@ -215,9 +215,6 @@
                                 <field name="referred"/>
                                 <field name="state" groups="base.group_no_one"/>
                             </group>
-                            <group string="Mailings">
-                                <field name="opt_out"/>
-                            </group>
                         </group>
                     </page>
                     </notebook>
@@ -501,9 +498,6 @@
                                     <field name="type_id" />
                                     <field name="channel_id" widget="selection"/>
                                 </group>
-                                <group string="Mailings">
-                                    <field name="opt_out"/>
-                                </group>
                                 <group string="Misc">
                                     <field name="active"/>
                                     <field name="day_open" groups="base.group_no_one"/>

=== modified file 'crm/test/ui/crm_demo.yml'
--- crm/test/ui/crm_demo.yml	2012-11-29 22:26:45 +0000
+++ crm/test/ui/crm_demo.yml	2012-12-06 05:32:20 +0000
@@ -8,14 +8,6 @@
     stage_id: crm.stage_lead1
     state: draft
 -
-  I create lead record to call Mailing opt-out onchange method.
--
-  !record {model: crm.lead, id: crm_case_18}:
-    name: 'Need 20 Days of Consultancy'
-    type: opportunity
-    state: draft
-    opt_out: True
--
   I create phonecall record to call partner onchange method.
 -
   !record {model: crm.phonecall, id: crm_phonecall_5}:

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to