Settings/Configuration/accounting crashes when open

Bug #1200313 reported by Gauthier Philippart on 2013-07-11
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Account - Analytic Accounting

Bug Description

OpenERP Server Error

Client Traceback (most recent call last):
  File "/home/odoo/src/web/7.0/addons/web/", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/odoo/src/web/7.0/addons/web/controllers/", line 1125, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/home/odoo/src/web/7.0/addons/web/controllers/", line 1117, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/odoo/src/web/7.0/addons/web/", 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/src/web/7.0/addons/web/", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/odoo/src/web/7.0/addons/web/", line 103, in send
    raise xmlrpclib.Fault(, formatted_info)

Server Traceback (most recent call last):
  File "/home/odoo/src/web/7.0/addons/web/", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/src/server/7.0/openerp/", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/src/server/7.0/openerp/service/", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/src/server/7.0/openerp/osv/", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/src/server/7.0/openerp/osv/", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/src/server/7.0/openerp/osv/", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/src/server/7.0/openerp/osv/", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/src/addons/7.0/account_voucher/", line 82, in onchange_company_id
    res = super(account_config_settings, self).onchange_company_id(cr, uid, ids, company_id, context=context)
  File "/home/odoo/src/addons/7.0/account/", line 196, in onchange_company_id
    date_start, date_stop, period = self._get_default_fiscalyear_data(cr, uid, company_id, context=context)
  File "/home/odoo/src/addons/7.0/account/", line 160, in _get_default_fiscalyear_data
    latest_stop = datetime.datetime.strptime(latest_year.date_stop, DF)
  File "/usr/lib/python2.7/", line 325, in _strptime
    (data_string, format))
ValueError: time data '2013-06-30' does not match format '%Y-%m-%d %H:%M:%S'

Tim52 (ts52) on 2013-10-23
Changed in account-analytic:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers