← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

This bug needs to be fixed from addons. The account.installer memory
wizard has overriden execute method this method checks the validation
for the fiscal years and raises an exception if the fiscal years are not
valid but before raises exception the base class i.e.
res.config.installer execute method is called which restart the pool. so
to fix the issue called base class execute method at the end when all
the validation are done.

Thanks,


** Changed in: openobject-server
     Assignee: OpenERP's Framework R&D (openerp-dev-framework) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

** Project changed: openobject-server => openobject-addons

** Changed in: openobject-addons
       Status: In Progress => Confirmed

-- 
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):
  Confirmed

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


References