← Back to team overview

credativ team mailing list archive

[Bug 910873] Re: Browsing "Campaign Followup" items throws an application error

 

Hi Jignesh,
I've tried using another client, running ubuntu. Same error:

Environment Information : 
System : Linux-2.6.32-33-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.3 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-33-generic
Operating System Version : #71-Ubuntu SMP Wed Jul 20 17:30:40 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2944, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 3064, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/fields.py", line 800, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/marketing_campaign/marketing_campaign.py", line 559, in _res_name_get
    ng = proxy.name_get(cr, uid, [wi.res_id], context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_contact/base_contact.py", line 96, in name_get
    if contact.title:
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 294, in __getattr__
    raise AttributeError(e)
AttributeError: 'Field title not found in browse_record(res.partner.contact, 270)'

note that if I use the web client, no error is returned.
I don't know if it's correct or not, but with the webclient I see over a thousands of items in the view. I believe there could be some corrupted data in it creating problems with gtk view.

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/910873

Title:
  Browsing "Campaign Followup" items throws an application error

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hi all,

  After doing some tests with campaign/segments I'm not able anymore to view the list of items in the "campaign followup" view due to the below error.
  Rebooting or creating/deleting campaigns/segments doesn't seem to solve the error.

  It was expected to list a number of lines, but no line of campaign
  followups is displayed, only an empty list and the error window.

  
  Environment Information : 
  System : Windows-Vista-6.1.7601-SP1
  OS Name : nt
  Operating System Release : Vista
  Operating System Version : 6.1.7601
  Operating System Architecture : 32bit
  Operating System Locale : it_IT.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2944, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 3064, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/fields.py", line 800, in get
      res = self._fnct(obj, cr, user, ids, name, self._arg, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/marketing_campaign/marketing_campaign.py", line 559, in _res_name_get
      ng = proxy.name_get(cr, uid, [wi.res_id], context=context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_contact/base_contact.py", line 96, in name_get
      if contact.title:
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 294, in __getattr__
      raise AttributeError(e)
  AttributeError: 'Field title not found in browse_record(res.partner.contact, 270)'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/910873/+subscriptions


References