← Back to team overview

openerp-india team mailing list archive

[Bug 1071793] Re: [trunk] When user alters the stages for leads, new leads won't get into draft mode

 

** Description changed:

- [trunk] [7.0] When you alter the stage "New" from Both to Lead in the
- stages configurator of Leads & Opportunities your new created leads
- won't get the state draft.
+ [trunk] [7.0] In the stages configurator of Leads & Opportunities
+ 
+ 1/ edit the stage "New" 
+ 2/ change the value of "Type" from "Both" to "Lead" 
+ 3/ your new created leads won't get the state draft.
  
  In addons I noticed in the file: crm_lead.py
  
  rule 53: return self.stage_find(cr, uid, [], section_id, [('state', '=',
  'draft'), ('type', '=', 'both')], context=context)
  
  You can change "New" to be the type of "lead" instead of both, and you can do this.
  So if you do not want the stage "New" for opportunities your leads will not work...
  
  Not sure why the type should be the type both

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1071793

Title:
  [trunk] When user alters the stages for leads, new leads won't get
  into draft mode

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  [trunk] [7.0] In the stages configurator of Leads & Opportunities

  1/ edit the stage "New" 
  2/ change the value of "Type" from "Both" to "Lead" 
  3/ your new created leads won't get the state draft.

  In addons I noticed in the file: crm_lead.py

  rule 53: return self.stage_find(cr, uid, [], section_id, [('state',
  '=', 'draft'), ('type', '=', 'both')], context=context)

  You can change "New" to be the type of "lead" instead of both, and you can do this.
  So if you do not want the stage "New" for opportunities your leads will not work...

  Not sure why the type should be the type both

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1071793/+subscriptions


References