Salve a tutti. Ho una installazione di odoo 11 con modulo ddt da circa un anno.
Ho esegeguito il backup del database per fare il restore su un pc nuovo, in cui è installato odoo 11 con modulo ddt preso da qui
github.com/OCA/l10n-italy/tree/11.0
con tutte le relative dipendenze.
Una volta che clicco sul menu "Inventario -> ddt" ottengo l'errore indicato sotto.
Se però accedo ad un database di test sempre sullo stesso pc nuovo riesco a creare un ddt senza errori.
Cosa può essere?
Error:
Odoo Server Error
Traceback (most recent call last):
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 651, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\pycompat.py", line 87, in reraise
raise value
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 693, in dispatch
result = self._call_function(**self.params)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 937, in __call__
return self.method(*args, **kw)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 515, in response_wrap
response = f(*args, **kw)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\web\controllers\main.py", line 934, in call_kw
return self._call_kw(model, method, args, kwargs)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\web\controllers\main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\api.py", line 687, in call_kw
return call_kw_model(method, model, args, kwargs)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\api.py", line 672, in call_kw_model
result = method(recs, *args, **kwargs)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 1296, in load_views
for [v_id, v_type] in views
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 1296, in <dictcomp>
for [v_id, v_type] in views
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\mail\models\mail_thread.py", line 374, in fields_view_get
res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 1382, in fields_view_get
xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result), view_id)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1061, in postprocess_and_fields
self.raise_view_error(message, view_id)
File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 516, in raise_view_error
raise ValueError(message)
ValueError: Field `pack_operation_ids` does not exist
Error context:
View `n/a`
[view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]