← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704353] [NEW] [c2c_budget] Error adding budget items

 

Public bug reported:

I'm in the process of evaluating c2c_budget on the trunk version, but
cannot add a budget line. I'm getting the following error:

Last revision No. & ID :1784 launchpad_translations_on_behalf_of_openerp-20110118043616-tllq2h2z4lxeuogs
Traceback (most recent call last):
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/orm.py", line 3640, in create
    self._validate(cr, user, [id_new], context)
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/orm.py", line 916, in _validate
    if not fun(self, cr, uid, ids):
  File "/home/jjesudason/Documents/Development/openerp6/addons/c2c_budget/c2c_budget_item.py", line 442, in _check_recursion
    parent='parent_id'
  File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/orm.py", line 4160, in check_recursion
    return self._check_recursion(cr, uid, ids, context, parent)
TypeError: _check_recursion() takes exactly 4 arguments (6 given)


bzr openobject-server revno: 3294
bzr openobject-addons-extra revno: 5171

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/704353

Title:
  [c2c_budget] Error adding budget items

Status in OpenObject Addons Modules:
  New

Bug description:
  I'm in the process of evaluating c2c_budget on the trunk version, but
  cannot add a budget line. I'm getting the following error:

  Last revision No. & ID :1784 launchpad_translations_on_behalf_of_openerp-20110118043616-tllq2h2z4lxeuogs
  Traceback (most recent call last):
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/orm.py", line 3640, in create
      self._validate(cr, user, [id_new], context)
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/orm.py", line 916, in _validate
      if not fun(self, cr, uid, ids):
    File "/home/jjesudason/Documents/Development/openerp6/addons/c2c_budget/c2c_budget_item.py", line 442, in _check_recursion
      parent='parent_id'
    File "/home/jjesudason/Documents/Development/openerp6/server/bin/osv/orm.py", line 4160, in check_recursion
      return self._check_recursion(cr, uid, ids, context, parent)
  TypeError: _check_recursion() takes exactly 4 arguments (6 given)

  
  bzr openobject-server revno: 3294
  bzr openobject-addons-extra revno: 5171





Follow ups

References