bug with the "lead converted into opportunity" log

Bug #691481 reported by Aline (OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 1

Bug Description

In web trunk (tested with firefox)

steps to reproduce
- create a lead
- convert it into opportunity
- 2 logs are created
- click the second log (the lead xxx has been converted into opportunity)
- 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/server/bin/osv/orm.py", line 2077, in read
    res2 = self._columns[f].get_memory(cr, self, ids, f, user, context=context, values=result)
  File "/home/aline/openerp/trunk/server/bin/osv/fields.py", line 340, in get_memory
    result[id] = obj.datas[id].get(name, False)
KeyError: 9

Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello Aline,

It seems problem in Addons module (crm). They have to pass view_id in the context for differentiate the view when they are creating res.log.

Note: In account module they have done get_log_context(...) you can check this.

So i moved this bug to Addons1 team.

Thanks.

affects: openobject-client-web → openobject-addons
Changed in openobject-addons:
assignee: OpenERP SA's Web Client R&D (openerp-dev-web) → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
Changed in openobject-addons:
importance: Low → Medium
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ujjvala Collins (uco-openerp) wrote :

Hello,

The fix has been committed to lp:~openerp-dev/openobject-addons/uco-dev-addons1 with revision 3501.

Soon it will be merged into main addons.

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.0-rc2
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.