← Back to team overview

credativ team mailing list archive

[Bug 891474] Re: Maximum Recursion Depth Exceeded

 

using the same database dump, the purchasing module does not work, what
do i need to configure?

When I raise a purchase order from a supplier, i expect the product qty
to go up, then the account payable to increase on the supplier.

Thereafter the unit cost on the PO should reflect on the product
ordered. This is not working for me...

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/891474

Title:
  Maximum Recursion Depth Exceeded

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Hi All

  When i try to update the stocks quantity, i get this error. Any help
  will be appreciated... I am testing openERP

  Traceback (most recent call last):
    File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/bin/addons/stock/wizard/stock_change_product_qty.py", line 100, in change_product_qty
      inventry_obj.action_done(cr, uid, [inventory_id], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 2540, in action_done
      move_obj.action_done(cr, uid, [x.id for x in inv.move_ids], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 2115, in action_done
      self.action_confirm(cr, uid, todo, context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1863, in action_confirm
      self.create_chained_picking(cr, uid, moves, context)
    File "/opt/openerp/server/bin/addons/mrp/stock.py", line 35, in create_chained_picking
      new_moves = super(StockMove, self).create_chained_picking(cr, uid, moves, context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1816, in create_chained_picking
      for picking, todo in self._chain_compute(cr, uid, moves, context=context).items():
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1781, in _chain_compute
      res2 = self._chain_compute(cr, uid, [m], context=context)
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1774, in _chain_compute
      'location_dest_id': dest[0].id})
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1621, in write
      return  super(stock_move, self).write(cr, uid, ids, vals, context=context)
    File "/opt/openerp/server/bin/osv/orm.py", line 3449, in write
      self._validate(cr, user, ids, context)
    File "/opt/openerp/server/bin/osv/orm.py", line 926, in _validate
      if not fun(self, cr, uid, ids):
    File "/opt/openerp/server/bin/addons/stock/stock.py", line 1497, in _check_tracking
      if not move.prodlot_id and \
    File "/opt/openerp/server/bin/osv/orm.py", line 292, in __getattr__
      return self[name]
    File "/opt/openerp/server/bin/osv/orm.py", line 205, in __getitem__
      field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
    File "/opt/openerp/server/bin/osv/orm.py", line 2940, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/opt/openerp/server/bin/osv/orm.py", line 2962, in _read_flat
      rule_clause, rule_params, tables = self.pool.get('ir.rule').domain_get(cr, user, self._name, 'read', context=context)
    File "/opt/openerp/server/bin/addons/base/ir/ir_rule.py", line 155, in domain_get
      dom = self._compute_domain(cr, uid, model_name, mode=mode)
    File "/opt/openerp/server/bin/tools/misc.py", line 815, in cached_result
      result[id] = self.cache[key][0]
    File "/opt/openerp/server/bin/tools/func.py", line 89, in wrapper
      return func(self, *args, **kwargs)
    File "/opt/openerp/server/bin/tools/lru.py", line 38, in __getitem__
      self[a[0]] = a[1]
    File "/opt/openerp/server/bin/tools/func.py", line 89, in wrapper
      return func(self, *args, **kwargs)
    File "/opt/openerp/server/bin/tools/lru.py", line 44, in __setitem__
      del self[obj]
    File "/opt/openerp/server/bin/tools/func.py", line 91, in wrapper
      lock.release()
    File "/usr/lib/python2.6/threading.py", line 147, in release
      self._note("%s.release(): non-final release", self)
  RuntimeError: maximum recursion depth exceeded

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