Skip to Content
Menu
This question has been flagged
1 Reply
2873 Views

Hi Everyone


When I click setting | Sales I get this error. Appreciate assistance


Odoo Server Error


Traceback (most recent call last):
  File "/opt/odoo/openerp/http.py", line 530, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo/openerp/http.py", line 567, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo/openerp/http.py", line 303, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/openerp/http.py", line 300, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/odoo/openerp/http.py", line 796, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/openerp/http.py", line 396, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/addons/web/controllers/main.py", line 949, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/odoo/addons/web/controllers/main.py", line 941, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/opt/odoo/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/addons/sale_stock/res_config.py", line 64, in default_get
    res = super(sale_configuration, self).default_get(cr, uid, fields, context)
  File "/opt/odoo/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/addons/sale/res_config.py", line 91, in default_get
    res['time_unit'] = user.company_id.project_time_mode_id.id
AttributeError: 'res.company' object has no attribute 'project_time_mode_id'
Avatar
Discard
Best Answer

Please do not only post your traceback, but do also read it and then use a question title, which is related to your problem. This way you will also find the solution using Google. As it looks like, you have a problem with your timesheet UoM, check this: https://www.google.ch/search?source=hp&ei=gE9TWqq1O4L0UOXcuKAM&q=odoo+project_time_mode_id&oq=odoo+project_time_mode_id&gs_l=psy-ab.3..33i160k1.410.1369.0.1646.7.5.0.0.0.0.153.602.0j5.5.0....0...1.1.64.psy-ab..2.5.599.0..0j35i39k1j0i67k1j0i131k1j0i203k1.0.WQpaRn3ysOE

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 23
1177
1
Dec 24
28
1
Dec 24
66
0
Nov 24
53
0
Nov 24
62