← Back to team overview

openerp-india team mailing list archive

[Bug 1045842] Re: [trunk] impossible to configure l10n_ch

 

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

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

Title:
  [trunk] impossible to configure l10n_ch

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  addons revno 7350
  server revno 4389

  Steps:

   - Create new db
   - Install 'Accounting and finance'
   - Select Swiss chart of account
   - On accounting options select the 'plan comptable STERCHI', click apply

  Get

  2012-09-04 14:09:07,988 29348 ERROR None openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/addons/base/res/res_config.py", line 124, in action_next
      next = self.execute(cr, uid, ids, context=context)
    File "/home/elbati/workspace/openerp/trunk/addons/l10n_ch/account_wizard.py", line 40, in execute
      tools.convert_xml_import(cr, 'l10n_ch', path, idref=None, mode='init', noupdate=True, report=None)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/tools/convert.py", line 952, in convert_xml_import
      doc = etree.parse(xmlfile)
    File "lxml.etree.pyx", line 2953, in lxml.etree.parse (src/lxml/lxml.etree.c:56204)
    File "parser.pxi", line 1558, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:82535)
  TypeError: cannot parse from 'bool'
  2012-09-04 14:09:07,989 29348 ERROR None openerp.netsvc: cannot parse from 'bool'
  Traceback (most recent call last):
    File "/home/elbati/workspace/openerp/trunk/server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/service/web_services.py", line 587, in dispatch
      res = fn(db, uid, *params)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/addons/base/res/res_config.py", line 124, in action_next
      next = self.execute(cr, uid, ids, context=context)
    File "/home/elbati/workspace/openerp/trunk/addons/l10n_ch/account_wizard.py", line 40, in execute
      tools.convert_xml_import(cr, 'l10n_ch', path, idref=None, mode='init', noupdate=True, report=None)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/tools/convert.py", line 952, in convert_xml_import
      doc = etree.parse(xmlfile)
    File "lxml.etree.pyx", line 2953, in lxml.etree.parse (src/lxml/lxml.etree.c:56204)
    File "parser.pxi", line 1558, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:82535)
  TypeError: cannot parse from 'bool'

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


References