← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 723919] [NEW] Error when installing module report_analytic2

 

Public bug reported:

1) Installing the module after a simple installation with analytic_account (no demo data). It should also install hr, hr_timesheet and hr_timesheet_invoice, these three install correctly.
2) Result:

Warning: Error occurred while validating the field(s) parent_id: Error !
You can not create recursive Menu.


Traceback (most recent call last):
  File "/home/jplevy/baazar-projects/openerp60/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/orm.py", line 1980, in write
    self.datas[object_id].update(vals2)
KeyError: 2

4) Linux 10.0.4 LTS, postgres 8.4
5) OpenERP 6.0 stable. Extra-addons project revno: 5222

Thanks in advance

** 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/723919

Title:
  Error when installing module report_analytic2

Status in OpenERP Modules (addons):
  New

Bug description:
  1) Installing the module after a simple installation with analytic_account (no demo data). It should also install hr, hr_timesheet and hr_timesheet_invoice, these three install correctly.
  2) Result:

  Warning: Error occurred while validating the field(s) parent_id: Error
  ! You can not create recursive Menu.

  
  Traceback (most recent call last):
    File "/home/jplevy/baazar-projects/openerp60/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/orm.py", line 1980, in write
      self.datas[object_id].update(vals2)
  KeyError: 2

  4) Linux 10.0.4 LTS, postgres 8.4
  5) OpenERP 6.0 stable. Extra-addons project revno: 5222

  Thanks in advance



Follow ups

References