← Back to team overview

openerp-india team mailing list archive

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

 

Any news on this?

to recreate the error please try to:

1) create a campaign and segment to send out some test mails, so to creare workitems
2) delete the segment
3) go to the campaign followup (6.0.3) , and deselect all filers to show all workitems

you'd get the error at that point.

Note that if you go to the table and delete manually those workitems
without segment id, the error disappears.

Best Regards
pin8

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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):
  Opinion

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