← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Thanks AMP,

you were right. But I see other problem on usability, there is no rising
warning (or other explanation in the field help text) that  I can use
only category without partners for segmentation. But instead I get error
that didn't say anything about my mistake.

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