Cuando intento instalar el módulo arriba mencionado en Odoo 10, obtengo el mensaje de error que copio abajo. He probado infinidad de cosas, sin éxito. Hace 5 meses lo pude instalarlo sin problemas, así que no entiendo qué puede estar pasando ahora.
Alguna idea? Muchas gracias por adelantado.
Un saludo.
_ @Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 684, in dispatch
result = self._call_function(self.params)
File "/odoo/odoo-server/odoo/http.py", line 334, in _call_function
return checked_call(self.db, *args, *kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper
return f(dbname, args, kwargs)
File "/odoo/odoo-server/odoo/http.py", line 327, in checked_call
result = self.endpoint(*a, kw)
File "/odoo/odoo-server/odoo/http.py", line 942, in call
return self.method(*args, *kw)
File "/odoo/odoo-server/odoo/http.py", line 507, in response_wrap
response = f(args, kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 899, in call_button
action = self._call_kw(model, method, args, {})
File "/odoo/odoo-server/addons/web/controllers/main.py", line 887, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, kwargs)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 412, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 486, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/odoo/odoo-server/odoo/modules/registry.py", line 83, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/odoo/odoo-server/odoo/modules/loading.py", line 377, in load_modules
loaded_modules, update_module, models_to_check)
File "/odoo/odoo-server/odoo/modules/loading.py", line 270, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/odoo/odoo-server/odoo/modules/loading.py", line 200, in load_module_graph
getattr(py_module, post_init)(cr, registry)
File "/odoo/custom/addons/l10n_es_account_invoice_sequence/hooks.py", line 12, in post_init_hook
if not company.chart_template_id.is_spanish_chart():
File "", line 2, in is_spanish_chart
File "/odoo/odoo-server/odoo/tools/cache.py", line 87, in lookup
value = d[key] = self.method(*args, *kwargs)
File "/odoo/custom/addons/l10n_es_account_invoice_sequence/models/account_chart_template.py", line 62, in is_spanish_chart
return self in self._get_spanish_charts()
File "/odoo/custom/addons/l10n_es_account_invoice_sequence/models/account_chart_template.py", line 56, in _get_spanish_charts
charts |= self.env.ref(chart_id)
File "/odoo/odoo-server/odoo/api.py", line 793, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1101, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1085, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/odoo/odoo-server/odoo/tools/cache.py", line 87, in lookup
value = d[key] = self.method(args, kwargs)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1074, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: l10n_es.account_chart_templateassoc
Hola, buenas tardes,
Cuando intento instalar el módulo arriba mencionado en Odoo 10, obtengo el mensaje de error que copio abajo. He probado infinidad de cosas, sin éxito. Hace 5 meses lo pude instalarlo sin problemas, así que no entiendo qué puede estar pasando ahora.
Alguna idea? Muchas gracias por adelantado.
Un saludo.
_ @Traceback (most recent call last): File "/odoo/odoo-server/odoo/http.py", line 642, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 684, in dispatch result = self._call_function(self.params) File "/odoo/odoo-server/odoo/http.py", line 334, in _call_function return checked_call(self.db, *args, *kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper return f(dbname, args, kwargs) File "/odoo/odoo-server/odoo/http.py", line 327, in checked_call result = self.endpoint(*a, kw) File "/odoo/odoo-server/odoo/http.py", line 942, in call return self.method(*args, *kw) File "/odoo/odoo-server/odoo/http.py", line 507, in response_wrap response = f(args, kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 899, in call_button action = self._call_kw(model, method, args, {}) File "/odoo/odoo-server/addons/web/controllers/main.py", line 887, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, kwargs) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 412, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 486, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/odoo/odoo-server/odoo/modules/registry.py", line 83, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 377, in load_modules loaded_modules, update_module, models_to_check) File "/odoo/odoo-server/odoo/modules/loading.py", line 270, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/odoo/odoo-server/odoo/modules/loading.py", line 200, in load_module_graph getattr(py_module, post_init)(cr, registry) File "/odoo/custom/addons/l10n_es_account_invoice_sequence/hooks.py", line 12, in post_init_hook if not company.chart_template_id.is_spanish_chart(): File "", line 2, in is_spanish_chart
File "/odoo/odoo-server/odoo/tools/cache.py", line 87, in lookup
value = d[key] = self.method(*args, *kwargs)
File "/odoo/custom/addons/l10n_es_account_invoice_sequence/models/account_chart_template.py", line 62, in is_spanish_chart
return self in self._get_spanish_charts()
File "/odoo/custom/addons/l10n_es_account_invoice_sequence/models/account_chart_template.py", line 56, in _get_spanish_charts
charts |= self.env.ref(chart_id)
File "/odoo/odoo-server/odoo/api.py", line 793, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1101, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1085, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/odoo/odoo-server/odoo/tools/cache.py", line 87, in lookup
value = d[key] = self.method( args, kwargs)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1074, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: l10n_es.account_chart_templateassoc