c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08353
[Bug 691006] Re: cannot save new lead after have duplicated it.
** Changed in: openobject-client-web
Status: In Progress => Confirmed
** Changed in: openobject-client-web
Assignee: OpenERP SA's Web Client R&D (openerp-dev-web) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)
** Project changed: openobject-client-web => openobject-addons
--
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:
Confirmed
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
References