[7.0] create new product from menu -> IndexError: pop from empty list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Version 7.0
Rev : 8516
Multicompany
There are no products yet in the second company and we want to start created them.
Trying to open from the menu : Sales > Products > Products
This traceback pops up instantly :
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
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
Peter
6.1 is not a LT, so please solve in version 7.0