** Branch linked: lp:~openerp-dev/openobject-addons/sbh-dev-addons1

-- 
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/691006

Title:
  cannot save new lead after have duplicated it.

Status in OpenObject Addons Modules:
  In Progress

Bug description:
  trunk, web (tested on firefox)

steps : 

- create a new lead (crm extended view -> Sales/Sales/Leads)
- save it
- duplicate it
- save the duplicated lead
- Bug


Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, 
params)
  File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 
598, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in 
execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/addons/crm/crm_lead.py", line 310, in write
    self.log(cr, uid, case.id, message)
UnboundLocalError: local variable 'message' referenced before assignment



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to