← Back to team overview

openerp-india team mailing list archive

[Bug 1077031] [NEW] [trunk] multi company accounting is broken since a couple of days

 

Public bug reported:

Hello,

In Setting, accounting, try to setup the Generic Account Chart of an
company

-sbi

OpenERP Server Error
Client Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/http.py", line 174, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/controllers/main.py", line 1269, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/controllers/main.py", line 1203, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/controllers/main.py", line 1227, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 105, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 91, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/netsvc.py", line 361, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/service/web_services.py", line 585, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/audittrail/audittrail.py", line 503, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/base/res/res_config.py", line 527, in execute
    getattr(self, method)(cr, uid, ids, context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/account/res_config.py", line 267, in set_chart_of_accounts
    wizard.execute(cr, uid, [wizard_id], context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/l10n_ch/account_wizard.py", line 41, in execute
    res.update({'type': 'ir.actions.act_window_close'})
AttributeError: 'NoneType' object has no attribute 'update'

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

-- 
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/1077031

Title:
  [trunk] multi company accounting is broken since a couple of days

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  In Setting, accounting, try to setup the Generic Account Chart of an
  company

  -sbi

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/http.py", line 174, in dispatch
      response["result"] = method(self, **self.params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/controllers/main.py", line 1269, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/controllers/main.py", line 1203, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/controllers/main.py", line 1227, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 42, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 30, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 105, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/web/session.py", line 91, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/netsvc.py", line 361, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/service/web_services.py", line 585, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/audittrail/audittrail.py", line 503, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/base/res/res_config.py", line 527, in execute
      getattr(self, method)(cr, uid, ids, context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/account/res_config.py", line 267, in set_chart_of_accounts
      wizard.execute(cr, uid, [wizard_id], context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-24587/server/openerp/addons/l10n_ch/account_wizard.py", line 41, in execute
      res.update({'type': 'ir.actions.act_window_close'})
  AttributeError: 'NoneType' object has no attribute 'update'

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


Follow ups

References