← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 710689] [NEW] Overlapping fiscal years error in initial chart of accounts installation

 

Public bug reported:

I just installed 6.0.1 and encountered an error while defining a new
database, while configuring the chart of accounts.

I set start date to 04/01/2011 (using the calender widget), end was set
automatically to 03/31/2012. Monthly period.

I wanted to confirm, but got a raised error message about overlapping
timeframes.

I closed it, re-checked the data (all ok), and confirmed again.

That got me an error as below, again with another confirm.


I deleted the database and started over. The error is reproduceable.

- Database preset language is German.
- Extended Interface.
- Entered company data, uploaded image.
- Choose Modules (re-translated from german names) CRM&SRM, Stock & Logistics, Disposition & Purchases, Quotations & Invoices, Bill of Material and Manufacturing
- Chart of Accounts Deutschland SKR03 und SKR04
- confirmed, got the error: You cannot define overlapping fiscal years
- clicked ok, confirmed again, got the error below.


Environment Information : 
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : de_DE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1961, in write
    self.datas[object_id].update(vals2)
KeyError: 1

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

Title:
  Overlapping fiscal years error in initial chart of accounts
  installation

Status in OpenERP Modules (addons):
  New

Bug description:
  I just installed 6.0.1 and encountered an error while defining a new
  database, while configuring the chart of accounts.

  I set start date to 04/01/2011 (using the calender widget), end was
  set automatically to 03/31/2012. Monthly period.

  I wanted to confirm, but got a raised error message about overlapping
  timeframes.

  I closed it, re-checked the data (all ok), and confirmed again.

  That got me an error as below, again with another confirm.


  I deleted the database and started over. The error is reproduceable.

  - Database preset language is German.
  - Extended Interface.
  - Entered company data, uploaded image.
  - Choose Modules (re-translated from german names) CRM&SRM, Stock & Logistics, Disposition & Purchases, Quotations & Invoices, Bill of Material and Manufacturing
  - Chart of Accounts Deutschland SKR03 und SKR04
  - confirmed, got the error: You cannot define overlapping fiscal years
  - clicked ok, confirmed again, got the error below.



  Environment Information : 
  System : Windows-Vista-6.1.7600
  OS Name : nt
  Operating System Release : Vista
  Operating System Version : 6.1.7600
  Operating System Architecture : 32bit
  Operating System Locale : de_DE.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1961, in write
      self.datas[object_id].update(vals2)
  KeyError: 1





Follow ups

References