Trunk/6.1 stock - Error in new company
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
after creating a new company - and NOT creating a warehouse and an internal stock location the following error occurs
2012-11-20 15:47:04,718 20303 ERROR ? openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
File "/srv/openerp/
return f(self, dbname, *args, **kwargs)
File "/srv/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/srv/openerp/
result = self._read_flat(cr, user, select, fields, context, load)
File "/srv/openerp/
res2 = self._columns[
File "/srv/openerp/
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/srv/openerp/
stock = self.get_
File "/srv/openerp/
child_
File "/srv/openerp/
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/srv/openerp/
query = self._where_
File "/srv/openerp/
where_clause, where_params = e.to_sql()
File "/srv/openerp/
q2 = stack.pop()
IndexError: pop from empty list
2012-11-20 15:47:04,719 20303 ERROR ? openerp.netsvc: pop from empty list
Related branches
- Ajay Patel (OpenERP) (community): Approve
- Christophe Matthieu (OpenERP) (community): Needs Information
-
Diff: 11 lines (+2/-0)1 file modifiedstock/product.py (+2/-0)
Changed in openobject-addons: | |
status: | Confirmed → Incomplete |
status: | Incomplete → Opinion |
status: | Opinion → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → In Progress |
Faced the error when create new company and try to create new product with this company on 6.1 as well as trunk!
Thank you!