← Back to team overview

openerp-india team mailing list archive

[Bug 1013179] Re: can't create contacts in customer

 

Wrong revid, sorry:
Committer: niv-openerp
Date: 2012-07-10 09:42:50 UTC
Revision ID: nicolas.vanhoren@xxxxxxxxxxx-20120710094250-l8utds8f3wtpqlhc
[FIX] problem with mail widgets and o2m

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

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

Title:
  can't create contacts in customer

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  step: --<>

  create a customer and save it after then create contact of that customer and save it 
  give traceback

  1]
    File "/home/odoo/runbot/static/openerp-dev-trunk-11095/server/openerp/osv/expression.py", line 787, in to_sql
      q, p = self.__leaf_to_sql(e, table)
    File "/home/odoo/runbot/static/openerp-dev-trunk-11095/server/openerp/osv/expression.py", line 770, in __leaf_to_sql
      params = table._columns[left]._symbol_set[1](right)
    File "/home/odoo/runbot/static/openerp-dev-trunk-11095/server/openerp/osv/fields.py", line 151, in <lambda>
      _symbol_f = lambda x: int(x or 0)
  ValueError: invalid literal for int() with base 10: 'one2many_v_id_2943'

  2] File "/home/odoo/runbot/static/openerp-dev-trunk-11095/server/openerp/osv/orm.py", line 2264, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/home/odoo/runbot/static/openerp-dev-trunk-11095/server/openerp/osv/orm.py", line 4614, in _search
      cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-11095/server/openerp/sql_db.py", line 152, in wrapper
      return f(self, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-11095/server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  DataError: invalid input syntax for integer: "one2many_v_id_2943"
  LINE 1: ...s.partner')  AND  (mail_subscription."res_id" in (E'one2many...

  
  Thanks.
  Mayur

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


References