This question has been flagged

Hello,

I try to move my Odoo 8.0 from VPS server to local.

I am installed all nesesery dependents and Odoo also from Github. I make backup database from VPS server and try to do restore on local server. When restore of database is finished and I login to database i have same problem with one of modules, screenshot of problem attached.

Can same body help me what this mistake means???

Odoo Server Error

Traceback (most recent call last):
  File "/home/odoo/odoo-server/openerp/http.py", line 546, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo/odoo-server/openerp/http.py", line 583, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo/odoo-server/openerp/http.py", line 319, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/odoo-server/openerp/http.py", line 316, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/odoo/odoo-server/openerp/http.py", line 812, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/odoo-server/openerp/http.py", line 412, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/odoo-server/addons/web/controllers/main.py", line 944, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/odoo/odoo-server/openerp/api.py", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/odoo-server/addons/mail/mail_thread.py", line 348, in fields_view_get
    res = super(mail_thread, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
  File "/home/odoo/odoo-server/openerp/api.py", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/odoo-server/openerp/models.py", line 1549, in fields_view_get
    xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx)
  File "/home/odoo/odoo-server/openerp/api.py", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 843, in postprocess_and_fields
    self.raise_view_error(cr, user, message, view_id, context)
  File "/home/odoo/odoo-server/openerp/api.py", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 367, in raise_view_error
    raise AttributeError(message)
AttributeError: Field `purchaser` does not exist

Error context:
View `sale.order.form`
[view_id: 799, xml_id: sale.view_order_form, model: sale.order, parent_id: n/a]

Avatar
Discard

Please read the log entries and do not only post them. Most probably you will understand the cause of your problems then and you will find out, that this has nothing to do with what you describe in the title of your question, which is therefore completely misleading.

Best Answer

Reading your error message in the log, it looks like there is a custom module missing on your local server or you did some customizations in the original Odoo modules on your VPS server which are now missing on your local server due to the new installation. The culprit is the field "purchaser" which is addressed in the view "sale.order.form", but not declared in the corresponding model.

Avatar
Discard