openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08746
[Bug 947689] Re: External referential view broken
This is fix in rev 5646 of extra trunk
** Project changed: openobject-server => openerp-extra-addons
** Changed in: openerp-extra-addons
Assignee: (unassigned) => Sébastien BEAU - http://www.akretion.com (sebastien.beau)
** Project changed: openerp-extra-addons => openobject-addons
** Changed in: openobject-addons
Status: Incomplete => Fix Released
--
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 Addons (modules):
Fix Released
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-addons/+bug/947689/+subscriptions
References