← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 684614] Re: CRM Lead : local variable 'message' referenced before assignment

 

Hello Corentin,

Do we have any case with type == False?
I think there is only two possibility for this field either 'lead' or 'opportunity'.

Thanks

** Changed in: openobject-addons
       Status: New => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/684614

Title:
  CRM Lead : local variable 'message' referenced before assignment

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  Addons Revision: 3978

If case.type is False, local variable 'message' referenced before assignment.
So you just have to add message = '' line 292 in crm/crm_lead.py





References