Ho disintallato il modulo da: Settings -> Local Modules
Copiato i nuovi folders in: /usr/lib/python2.7/dist-packages/openerp/addons/
Reinstallato.
Mi viene restituito sempre lo stesso errore.
#########################################################################################
Questo è l'output della console in cui eseguo il server-odoo (credo sia identico al error log nel modal):
2016-05-13 14:24:00,789 3010 ERROR test_t openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 517, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 535, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 291, in checked_call
return self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 751, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 387, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 949, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 360, in old_api
result = method(recs, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5754, in onchange
record._onchange_eval(name, field_onchange[name], result)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5654, in _onchange_eval
method_res = method(self)
File "/usr/lib/python2.7/dist-packages/openerp/addons/l10n_it_ddt/models/stock_picking_package_preparation.py", line 103, in on_change_partner
addr = self.partner_id.address_get()
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 552, in new_api
result = method(self._model, cr, uid, self.ids, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/res/res_partner.py", line 756, in address_get
default = result.get('default', partner.id)
UnboundLocalError: local variable 'partner' referenced before assignment
################################################################################
Questo è il contenuto del file /var/log/odoo/odoo-server.log :
2016-05-11 09:03:15,636 29206 INFO ? openerp: OpenERP version 9.0c-20160511
2016-05-11 09:03:15,636 29206 INFO ? openerp: addons paths:
2016-05-11 09:03:15,637 29206 INFO ? openerp: database: odoo@default:default
2016-05-11 09:03:15,819 29206 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2016-05-11 16:03:45,385 29206 INFO ? openerp.service.server: Initiating shutdown
2016-05-11 16:03:45,385 29206 INFO ? openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2016-05-12 07:13:41,685 856 INFO ? openerp: OpenERP version 9.0c-20160511
2016-05-12 07:13:41,690 856 INFO ? openerp: addons paths:
2016-05-12 07:13:41,690 856 INFO ? openerp: database: odoo@default:default
2016-05-12 07:13:43,348 856 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2016-05-12 10:38:45,506 856 INFO ? openerp.service.server: Initiating shutdown
2016-05-12 10:38:45,506 856 INFO ? openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2016-05-12 10:56:09,339 28922 INFO ? openerp: OpenERP version 8.0-9d0bd28
2016-05-12 10:56:09,339 28922 INFO ? openerp: addons paths:
2016-05-12 10:56:09,339 28922 INFO ? openerp: database hostname: localhost
2016-05-12 10:56:09,339 28922 INFO ? openerp: database port: 5432
2016-05-12 10:56:09,339 28922 INFO ? openerp: database user: odoo
2016-05-12 10:56:09,484 28922 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2016-05-12 16:05:38,192 28922 INFO ? openerp.service.server: Initiating shutdown
2016-05-12 16:05:38,192 28922 INFO ? openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2016-05-13 07:03:10,941 868 INFO ? openerp: OpenERP version 8.0-9d0bd28
2016-05-13 07:03:10,951 868 INFO ? openerp: addons paths:
2016-05-13 07:03:10,951 868 INFO ? openerp: database hostname: localhost
2016-05-13 07:03:10,951 868 INFO ? openerp: database port: 5432
2016-05-13 07:03:10,951 868 INFO ? openerp: database user: odoo
2016-05-13 07:03:12,405 868 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
Ditemi se vi sono altri files di log.
Ancora grazie.