{"action":"opened","issue":{"url":"https://api.github.com/repos/OCA/l10n-spain/issues/935","repository_url":"https://api.github.com/repos/OCA/l10n-spain","labels_url":"https://api.github.com/repos/OCA/l10n-spain/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/OCA/l10n-spain/issues/935/comments","events_url":"https://api.github.com/repos/OCA/l10n-spain/issues/935/events","html_url":"https://github.com/OCA/l10n-spain/issues/935","id":369923314,"node_id":"MDU6SXNzdWUzNjk5MjMzMTQ=","number":935,"title":"Problema al instalar l10n_es_account_invoice_sequence","user":{"login":"DavidLizasoain","id":44134307,"node_id":"MDQ6VXNlcjQ0MTM0MzA3","avatar_url":"https://avatars1.githubusercontent.com/u/44134307?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidLizasoain","html_url":"https://github.com/DavidLizasoain","followers_url":"https://api.github.com/users/DavidLizasoain/followers","following_url":"https://api.github.com/users/DavidLizasoain/following{/other_user}","gists_url":"https://api.github.com/users/DavidLizasoain/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidLizasoain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidLizasoain/subscriptions","organizations_url":"https://api.github.com/users/DavidLizasoain/orgs","repos_url":"https://api.github.com/users/DavidLizasoain/repos","events_url":"https://api.github.com/users/DavidLizasoain/events{/privacy}","received_events_url":"https://api.github.com/users/DavidLizasoain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-14T17:20:01Z","updated_at":"2018-10-14T17:20:01Z","closed_at":null,"author_association":"NONE","body":"Hola, buenas tardes,\r\n\r\nCuando 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.  \r\n\r\nAlguna idea? Muchas gracias por adelantado. \r\n\r\nUn  saludo.\r\n\r\n_ @Traceback (most recent call last):\r\n  File \"/odoo/odoo-server/odoo/http.py\", line 642, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/odoo/odoo-server/odoo/http.py\", line 684, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/odoo/odoo-server/odoo/http.py\", line 334, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/odoo/odoo-server/odoo/service/model.py\", line 101, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/odoo/odoo-server/odoo/http.py\", line 327, in checked_call\r\n    result = self.endpoint(*a, **kw)\r\n  File \"/odoo/odoo-server/odoo/http.py\", line 942, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/odoo/odoo-server/odoo/http.py\", line 507, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/odoo/odoo-server/addons/web/controllers/main.py\", line 899, in call_button\r\n    action = self._call_kw(model, method, args, {})\r\n  File \"/odoo/odoo-server/addons/web/controllers/main.py\", line 887, in _call_kw\r\n    return call_kw(request.env[model], method, args, kwargs)\r\n  File \"/odoo/odoo-server/odoo/api.py\", line 689, in call_kw\r\n    return call_kw_multi(method, model, args, kwargs)\r\n  File \"/odoo/odoo-server/odoo/api.py\", line 680, in call_kw_multi\r\n    result = method(recs, *args, **kwargs)\r\n  File \"/odoo/odoo-server/odoo/addons/base/module/module.py\", line 412, in button_immediate_install\r\n    return self._button_immediate_function(type(self).button_install)\r\n  File \"/odoo/odoo-server/odoo/addons/base/module/module.py\", line 486, in _button_immediate_function\r\n    modules.registry.Registry.new(self._cr.dbname, update_module=True)\r\n  File \"/odoo/odoo-server/odoo/modules/registry.py\", line 83, in new\r\n    odoo.modules.load_modules(registry._db, force_demo, status, update_module)\r\n  File \"/odoo/odoo-server/odoo/modules/loading.py\", line 377, in load_modules\r\n    loaded_modules, update_module, models_to_check)\r\n  File \"/odoo/odoo-server/odoo/modules/loading.py\", line 270, in load_marked_modules\r\n    perform_checks=perform_checks, models_to_check=models_to_check\r\n  File \"/odoo/odoo-server/odoo/modules/loading.py\", line 200, in load_module_graph\r\n    getattr(py_module, post_init)(cr, registry)\r\n  File \"/odoo/custom/addons/l10n_es_account_invoice_sequence/hooks.py\", line 12, in post_init_hook\r\n    if not company.chart_template_id.is_spanish_chart():\r\n  File \"<decorator-gen-266>\", line 2, in is_spanish_chart\r\n  File \"/odoo/odoo-server/odoo/tools/cache.py\", line 87, in lookup\r\n    value = d[key] = self.method(*args, **kwargs)\r\n  File \"/odoo/custom/addons/l10n_es_account_invoice_sequence/models/account_chart_template.py\", line 62, in is_spanish_chart\r\n    return self in self._get_spanish_charts()\r\n  File \"/odoo/custom/addons/l10n_es_account_invoice_sequence/models/account_chart_template.py\", line 56, in _get_spanish_charts\r\n    charts |= self.env.ref(chart_id)\r\n  File \"/odoo/odoo-server/odoo/api.py\", line 793, in ref\r\n    return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)\r\n  File \"/odoo/odoo-server/odoo/addons/base/ir/ir_model.py\", line 1101, in xmlid_to_object\r\n    t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)\r\n  File \"/odoo/odoo-server/odoo/addons/base/ir/ir_model.py\", line 1085, in xmlid_to_res_model_res_id\r\n    return self.xmlid_lookup(xmlid)[1:3]\r\n  File \"<decorator-gen-8>\", line 2, in xmlid_lookup\r\n  File \"/odoo/odoo-server/odoo/tools/cache.py\", line 87, in lookup\r\n    value = d[key] = self.method(*args, **kwargs)\r\n  File \"/odoo/odoo-server/odoo/addons/base/ir/ir_model.py\", line 1074, in xmlid_lookup\r\n    raise ValueError('External ID not found in the system: %s' % xmlid)\r\nValueError: External ID not found in the system: l10n_es.account_chart_template_assoc_"}}
{"actor":{"display_login":"DavidLizasoain"}}