Installed crm_profiling:

Sales/Address Book/Customers:
Select customer-> Profiling tab -Select Questionnaire: Save data:

It give following error 

[2011-11-23 12:32:25,660][?] ERROR:web-services:[20]:   File 
"/home/sbh/workspace/source/addons/trunk/crm_profiling/crm_profiling.py", line 
231, in _questionnaire_compute
[2011-11-23 12:32:25,660][?] ERROR:web-services:[21]:     self.write(cr, uid, 
[data['id']], {'answers_ids':[[6, 0, temp]]}, context=context)
[2011-11-23 12:32:25,660][?] ERROR:web-services:[22]:   File 
"/home/sbh/workspace/source/addons/trunk/crm_profiling/crm_profiling.py", line 
245, in write
[2011-11-23 12:32:25,661][?] ERROR:web-services:[23]:     return super(partner, 
self).write(cr, uid, ids, vals, context=context)
[2011-11-23 12:32:25,661][?] ERROR:web-services:[24]:   File 
"/home/sbh/workspace/source/server/trunk/openerp/osv/orm.py", line 3881, in 
write
[2011-11-23 12:32:25,661][?] ERROR:web-services:[25]:     result += 
self._columns[field].set(cr, self, id, field, vals[field], user, 
context=rel_context) or []
[2011-11-23 12:32:25,661][?] ERROR:web-services:[26]:   File 
"/home/sbh/workspace/source/server/trunk/openerp/osv/fields.py", line 692, in 
set
[2011-11-23 12:32:25,661][?] ERROR:web-services:[27]:     cr.execute('insert 
into '+rel+' ('+id1+','+id2+') values (%s, %s)', (id, act_nbr))
[2011-11-23 12:32:25,661][?] ERROR:web-services:[28]:   File 
"/home/sbh/workspace/source/server/trunk/openerp/sql_db.py", line 153, in 
wrapper
[2011-11-23 12:32:25,661][?] ERROR:web-services:[29]:     return f(self, *args, 
**kwargs)
[2011-11-23 12:32:25,661][?] ERROR:web-services:[30]:   File 
"/home/sbh/workspace/source/server/trunk/openerp/sql_db.py", line 215, in 
execute
[2011-11-23 12:32:25,662][?] ERROR:web-services:[31]:     res = 
self._obj.execute(query, params)
[2011-11-23 12:32:25,662][?] ERROR:web-services:[32]: IntegrityError: duplicate 
key value violates unique constraint "partner_question_rel_partner_key"
 
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-coverage-crm-ron/+merge/80479
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-coverage-crm-ron.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to