求助 執行報表出現錯誤訊息



  • 各位前輩好

    我在執行各項報表時都會出現下列的錯誤訊息,請問是哪邊設定錯誤嗎?

    OpenERP Server Error
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 499, in _handle_exception
        return super(JsonRequest, self)._handle_exception(exception)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 516, in dispatch
        result = self._call_function(**self.params)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 282, in _call_function
        return checked_call(self.db, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/service/model.py", line 113, in wrapper
        return f(dbname, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 279, in checked_call
        return self.endpoint(*a, **kw)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 732, in call
        return self.method(*args, **kw)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 375, in response_wrap
        response = f(*args, **kw)
      File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 944, in call_kw
        return self._call_kw(model, method, args, kwargs)
      File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 936, in _call_kw
        return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
        return old_api(self, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 2167, in read_group
        cr.execute(query, where_clause_params)
      File "/usr/local/lib/python2.7/site-packages/openerp/sql_db.py", line 158, in wrapper
        return f(self, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/sql_db.py", line 234, in execute
        res = self._obj.execute(query, params)
    DataError: time zone "Asia/Shanghai" not recognized



  • 各位前輩好

    我在執行各項報表時都會出現下列的錯誤訊息,請問是哪邊設定錯誤嗎?

    OpenERP Server Error
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 499, in _handle_exception
        return super(JsonRequest, self)._handle_exception(exception)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 516, in dispatch
        result = self._call_function(**self.params)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 282, in _call_function
        return checked_call(self.db, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/service/model.py", line 113, in wrapper
        return f(dbname, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 279, in checked_call
        return self.endpoint(*a, **kw)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 732, in call
        return self.method(*args, **kw)
      File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 375, in response_wrap
        response = f(*args, **kw)
      File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 944, in call_kw
        return self._call_kw(model, method, args, kwargs)
      File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 936, in _call_kw
        return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
        return old_api(self, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 2167, in read_group
        cr.execute(query, where_clause_params)
      File "/usr/local/lib/python2.7/site-packages/openerp/sql_db.py", line 158, in wrapper
        return f(self, *args, **kwargs)
      File "/usr/local/lib/python2.7/site-packages/openerp/sql_db.py", line 234, in execute
        res = self._obj.execute(query, params)
    DataError: time zone "Asia/Shanghai" not recognized


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待