Buonasera gente,
sono Marco un novellino dalla provincia di Venezia che si sta accingendo ad usare la piattaforma Odoo per la sua azienda.
ho una vps basata su centos sulla quale è installato odoo.
questa mattina ho installato varie app che ritenevo utili.
più tardi ho deciso di ripartire da zero eliminandole quasi tutte.
quando ho provato a reinstallarle ho riscontrato questo errore.
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 680, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 316, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 309, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 959, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 509, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 896, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 884, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/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 "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/addons/base/module/module.py", line 533, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 338, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/site-packages/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 "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 137, in load_module_graph
init_module_models(cr, package.name, models)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 293, in init_module_models
result = obj._auto_init(cr, {'module': module_name})
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 2636, in _auto_init
self._set_default_value_on_column(cr, k, context=context)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 2392, in _set_default_value_on_column
default = default(self, cr, SUPERUSER_ID, context)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 354, in old_api
result = method(recs, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 82, in <lambda>
return api.model(lambda model: field.convert_to_write(value(model)))
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/addons/mail/models/mail_message.py", line 38, in _get_default_from
if self.env.user.alias_name and self.env.user.alias_domain:
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 824, in __get__
self.determine_value(record)
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 931, in determine_value
self.compute_value(recs)
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 886, in compute_value
self._compute_value(records)
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 878, in _compute_value
self.compute(records)
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 581, in _compute_related
other, field = self.traverse_related(other)
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 570, in traverse_related
record = record[name][:1]
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 5720, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 824, in __get__
self.determine_value(record)
File "/usr/lib/python2.7/site-packages/openerp/fields.py", line 922, in determine_value
record._prefetch_field(self)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3279, in _prefetch_field
result = records.read([f.name for f in fs], load='_classic_write')
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 574, in new_api
result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
File "/usr/lib/python2.7/site-packages/openerp/addons/base/res/res_users.py", line 923, in read
res = super(users_view, self).read(cr, uid, ids, other_fields, context=context, load=load)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/addons/base/res/res_users.py", line 308, in read
result = super(res_users, self).read(cr, uid, ids, fields=fields, context=context, load=load)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3174, in read
result = BaseModel.read(records, fields, load=load)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3209, in read
self._read_from_database(stored, inherited)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3347, in _read_from_database
cr.execute(query_str, params)
File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 139, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 218, in execute
res = self._obj.execute(query, params)
ProgrammingError: column res_users.alias_id does not exist
RIGA 1: SELECT "res_users"."alias_id" as "alias_id","res_users"."id...
^
sapete aiutarmi per favore???
molte grazie!!!