Impossible to access product when in multicompany for child company admin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Addons (project parking) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Working on 6.1 server. Problem appears on web and gtk client.
Create a DB without demo data, create 1 company, child of the main company. Create also 2 additional users, each one responsible and linked to one company.
Try to access the product list view with the admin of the child company -> bug:
Environment Information :
System : Linux-3.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Operating System Release : 3.0.0-17-generic
Operating System Version : #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF-8
Python Version : 2.7.2+
OpenERP-Client Version : 6.1.1
Last revision No. & ID :2058 launchpad_
Traceback (most recent call last):
File "/home/
result = openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return fct_src(cr, uid, model, method, *args)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/
res2 = self._columns[
File "/home/
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/
stock = self.get_
File "/home/
child_
File "/home/
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/
query = self._where_
File "/home/
where_clause, where_params = e.to_sql()
File "/home/
q2 = stack.pop()
IndexError: pop from empty list
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Same goes for Kanban view.