← Back to team overview

credativ team mailing list archive

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

 

Hi, new updates.

the webclient generates the same errors the gtk does, however it goes
ahead and that's why it seems to be working. So, the error is from both
gtk and web client, but gtk clients then works abnormally and doesn't
allow for "faulty" record changes.

the error:
AttributeError: 'Field title not found in browse_record(res.partner.contact, 430)'

seems to be related to openerp looking for a record in
res.parter.contact table with ID 430. I looked into the same, and there
is no such record. However, if I create it the problem disappears (for
that partner).

The point now is: where is that 430 coming from? res.partner, res.partner.job, res.partner.address and res.partner.contact do not contain it a reference to an id of 430 !
Is that a broken index? please help..

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