← Back to team overview

openerp-india team mailing list archive

[Bug 1050452] Re: [trunk] crm/crm_segmentation.py: relation "res_partner_category_rel" does not exist

 

I see this was fixed in trunk some times ago.

** Changed in: openobject-addons
       Status: Incomplete => Fix Committed

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

Title:
  [trunk] crm/crm_segmentation.py: relation "res_partner_category_rel"
  does not exist

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  there's a bug in an SQL request in crm/crm_segmentation.py:

    File "/home/odoo/runbot/static/c2c-trunk-proposed-cleanups-17092/server/openerp/addons/crm/crm_segmentation.py", line 107, in process_start
      return self.process_continue(cr, uid, ids, start=True)
    File "/home/odoo/runbot/static/c2c-trunk-proposed-cleanups-17092/server/openerp/addons/crm/crm_segmentation.py", line 65, in process_continue
      where category_id=%s', (categ['categ_id'][0],))
    File "/home/odoo/runbot/static/c2c-trunk-proposed-cleanups-17092/server/openerp/sql_db.py", line 152, in wrapper
      return f(self, *args, **kwargs)
    File "/home/odoo/runbot/static/c2c-trunk-proposed-cleanups-17092/server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: relation "res_partner_category_rel" does not exist
  LINE 1: delete from res_partner_category_rel                        ...

  The correct table name is "res_partner_res_partner_category_rel".

  The fix is available in http://bazaar.launchpad.net/~c2c/openobject-
  addons/trunk-proposed-cleanups/revision/6768

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1050452/+subscriptions


References