← Back to team overview

openerp-india team mailing list archive

[Bug 947689] Re: External referential view broken

 

Hello Kyle Waid ,

I have checked this issue with Trunk as well as 6.1 but 
I did not face any trace back. So would you please 
elaborate more regarding this issue.

Thanks and waiting for reply!

** Changed in: openobject-server
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/947689

Title:
  External referential view broken

Status in OpenERP Server:
  Incomplete

Bug description:
  When you import products from an external resource it creates an
  external referential record in ir_model_data. This view is visible on
  the product form. This view is broken on 6.1 server. See stack trace

  
  Client Traceback (most recent call last):
    File "/usr/local/openerp/web/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/usr/local/openerp/web/addons/web/controllers/main.py", line 831, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/usr/local/openerp/web/addons/web/controllers/main.py", line 856, in do_search_read
      ids = Model.search(domain, offset or 0, limit or False, sort or False, context)
    File "/usr/local/openerp/web/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/usr/local/openerp/web/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/usr/local/openerp/web/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/usr/local/openerp/web/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/local/openerp/openerp-server/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/local/openerp/openerp-server/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/openerp/openerp-server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/usr/local/openerp/openerp-server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/openerp/openerp-server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/openerp/openerp-server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/openerp/openerp-server/openerp/osv/orm.py", line 2241, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/usr/local/openerp/openerp-server/openerp/osv/orm.py", line 4570, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/usr/local/openerp/openerp-server/openerp/osv/orm.py", line 4421, in _where_calc
      where_clause, where_params = e.to_sql()
    File "/usr/local/openerp/openerp-server/openerp/osv/expression.py", line 787, in to_sql
      q, p = self.__leaf_to_sql(e, table)
    File "/usr/local/openerp/openerp-server/openerp/osv/expression.py", line 770, in __leaf_to_sql
      params = table._columns[left]._symbol_set[1](right)
    File "/usr/local/openerp/openerp-server/openerp/osv/fields.py", line 150, in <lambda>
      _symbol_f = lambda x: int(x or 0)
  ValueError: invalid literal for int() with base 10: 'active_id'

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


References