← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

[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.

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: config crm

** Description changed:

- 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] 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.
  
  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... 
+ 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

** Summary changed:

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

-- 
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):
  New

Bug description:
  [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.

  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


Follow ups

References