Latests..
have found where the problem is located.
In the campaign_workitem table there are workitems with broken references to
non-existing res_id record. In the log above, take for example the partner with
ID 430.
I found that in the campaign_workitem table there will be one or more records
with linked to the "X" partner and to the res_id 430 (a contact that has been
deleted?) . By removing these records in the campaign_workitem table there will
be no error anymore for the "X" partner.
Questions:
1) can I delete all workitems? what are the consequences I'd be aware of ?
2) has this bug already been identified ? if so, where do I find the updated
sources?
Thanks
pin8
** Changed in: openobject-addons
Status: Incomplete => Opinion
--
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):
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
--
Mailing list: https://launchpad.net/~credativ
Post to : [email protected]
Unsubscribe : https://launchpad.net/~credativ
More help : https://help.launchpad.net/ListHelp