← Back to team overview

openerp-india team mailing list archive

[Bug 1022467] Re: idea : not able to create a record

 

*** This bug is a duplicate of bug 1013524 ***
    https://bugs.launchpad.net/bugs/1013524

** This bug has been marked a duplicate of bug 1013524
   Create Idea gives traceback

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

Title:
  idea : not able to create a record

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,
    
  With the latest trunk......
  Addons -7006
  Server - 4237
  web - 2686

  following steps to produce the bug
  Create new db:
  > install idea module
  > Try to create new idea record 
  > Traceback:
  Traceback (most recent call last):
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/tiny/workspace/rdtools/addons/trunk/mail/mail_thread.py", line 106, in create
      thread_id = super(mail_thread, self).create(cr, uid, vals, context=context)
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 4290, in create
      result += self._columns[field].set(cr, self, id_new, field, vals[field], user, rel_context) or []
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/fields.py", line 717, in set
      cr.execute('delete from '+rel+' where '+id1+'=%s AND '+id2+' IN (SELECT '+rel+'.'+id2+' FROM '+rel+', '+','.join(tables)+' WHERE '+rel+'.'+id1+'=%s AND '+rel+'.'+id2+' = '+obj._table+'.id '+ d1 +')', [id, id]+d2)
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/sql_db.py", line 152, in wrapper
      return f(self, *args, **kwargs)
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: relation "tags" does not exist
  LINE 1: delete from tags where idea_idea_id=2 AND idea_category_id I...

  Expected result:

  simply able to create new idea record.

  Thanks,
  pna

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


References