← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 700643] Re: [trunk] partners segmentation error

 

Hello Paulius,

I have tested your scenario again. I think you might made a mistake in
selection of the "Parent Category". So you face the "Integrity error".

You have to select the category which is not added in the "Partner". If
selected category is already exist in "partner" then the constraint
error is generated. It means the duplicate key value is not set in that
from.

Every thing works fine at my end, So i am closing this bug.

Thanks.

** Changed in: openobject-addons
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/700643

Title:
  [trunk] partners segmentation error

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  I'm using trunk (addons rev. 4202, server rev. 3230) only with the CRM module. I created partners segmentation entry, but when I ran "Compute Segmentation" got this errror:

[2011-01-09 14:37:36,228][crm] ERROR:db.cursor:bad query: insert into res_partner_category_rel (category_id,partner_id)                         values (15,31)
Traceback (most recent call last):
  File "/home/komsas/openerp/openerp6/openobject-server/bin/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "res_partner_category_rel_partner_id_key"





References