Skip to Content
Menu
This question has been flagged
2025 Views

If I press install button on any of the applications that is given by the odoo it shows the me the following error


Odoo Server Error

Traceback (most recent call last):
  File "/home/ahmad/odoo workspace/9.0/openerp/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/ahmad/odoo workspace/9.0/openerp/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/home/ahmad/odoo workspace/9.0/openerp/http.py", line 319, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/http.py", line 312, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/ahmad/odoo workspace/9.0/openerp/http.py", line 962, in __call__
    return self.method(*args, **kw)
  File "/home/ahmad/odoo workspace/9.0/openerp/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/home/ahmad/odoo workspace/9.0/addons/web/controllers/main.py", line 900, in call_button
    action = self._call_kw(model, method, args, {})
  File "/home/ahmad/odoo workspace/9.0/addons/web/controllers/main.py", line 888, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/addons/base/module/module.py", line 459, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/addons/base/module/module.py", line 533, in _button_immediate_function
    registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/home/ahmad/odoo workspace/9.0/openerp/modules/registry.py", line 386, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/ahmad/odoo workspace/9.0/openerp/modules/loading.py", line 338, in load_modules
    loaded_modules, update_module)
  File "/home/ahmad/odoo workspace/9.0/openerp/modules/loading.py", line 237, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/home/ahmad/odoo workspace/9.0/openerp/modules/loading.py", line 137, in load_module_graph
    init_module_models(cr, package.name, models)
  File "/home/ahmad/odoo workspace/9.0/openerp/modules/module.py", line 293, in init_module_models
    result = obj._auto_init(cr, {'module': module_name})
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/models.py", line 2637, in _auto_init
    self._set_default_value_on_column(cr, k, context=context)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/models.py", line 2393, in _set_default_value_on_column
    default = default(self, cr, SUPERUSER_ID, context)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 354, in old_api
    result = method(recs, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 82, in <lambda>
    return api.model(lambda model: field.convert_to_write(value(model)))
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/addons/mail/models/mail_message.py", line 39, in _get_default_from
    if self.env.user.alias_name and self.env.user.alias_domain:
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 829, in __get__
    self.determine_value(record)
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 936, in determine_value
    self.compute_value(recs)
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 891, in compute_value
    self._compute_value(records)
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 883, in _compute_value
    self.compute(records)
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 585, in _compute_related
    other, field = self.traverse_related(other)
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 574, in traverse_related
    record = record[name][:1]
  File "/home/ahmad/odoo workspace/9.0/openerp/models.py", line 5740, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 829, in __get__
    self.determine_value(record)
  File "/home/ahmad/odoo workspace/9.0/openerp/fields.py", line 927, in determine_value
    record._prefetch_field(self)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/models.py", line 3298, in _prefetch_field
    result = records.read([f.name for f in fs], load='_classic_write')
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 574, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/addons/base/res/res_users.py", line 921, in read
    res = super(users_view, self).read(cr, uid, ids, other_fields, context=context, load=load)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/addons/base/res/res_users.py", line 314, in read
    return super(res_users, self).read(cr, uid, ids, fields=fields, context=context, load=load)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/models.py", line 3193, in read
    result = BaseModel.read(records, fields, load=load)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/models.py", line 3228, in read
    self._read_from_database(stored, inherited)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/addons/base/res/res_users.py", line 294, in _read_from_database
    super(res_users, self)._read_from_database(field_names, inherited_field_names)
  File "/home/ahmad/odoo workspace/9.0/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/models.py", line 3366, in _read_from_database
    cr.execute(query_str, params)
  File "/home/ahmad/odoo workspace/9.0/openerp/sql_db.py", line 141, in wrapper
    return f(self, *args, **kwargs)
  File "/home/ahmad/odoo workspace/9.0/openerp/sql_db.py", line 220, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column res_users.alias_id does not exist
LINE 1:  SELECT "res_users"."id" as "id","res_users"."alias_id" as "...
Avatar
Discard
Related Posts Replies Views Activity
1
Nov 21
4701
0
Jul 24
3648
0
Oct 19
2179
1
Nov 18
1961
0
Jul 18
3031