Settings/Configuration/accounting crashes when open

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

Bug Description

OpenERP Server Error

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

Server Traceback (most recent call last):
  File "/home/odoo/src/web/7.0/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/src/server/7.0/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/src/server/7.0/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/src/server/7.0/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/src/server/7.0/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/src/server/7.0/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/src/server/7.0/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/src/addons/7.0/account_voucher/account_voucher.py", 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/res_config.py", 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/res_config.py", line 160, in _get_default_fiscalyear_data
    latest_stop = datetime.datetime.strptime(latest_year.date_stop, DF)
  File "/usr/lib/python2.7/_strptime.py", 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