You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ao usar a verão atual do arquivo "account_group_template.xml" recebo um erro ao tentar atualizar, ou até mesmo intalar o móldulo em uma instação limpa. Abaixo mostro o erro recebido e a versão do códito que estou ultilizando. E gostaria de tentar entender porque a versão atual não está funcionando na minha instalação mesmo esta sendo a versão atualizada.
Conto com a ajuda de todos para tentar entender o que está se passando.
Grande Abraço!
Error apresentado ao instalar o módulo "br_coa_me_epp"
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo/odoo/tools/cache.py", line 83, in lookup
r = d[key]
File "/odoo/odoo/odoo/tools/func.py", line 69, in wrapper
return func(self, *args, **kwargs)
File "/odoo/odoo/odoo/tools/lru.py", line 33, in getitem
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fa19e5308b0>, 'br_coa_me_epp.br_coa_me_epp_chart_template')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo/odoo/tools/convert.py", line 675, in _tag_root
f(rec)
File "/odoo/odoo/odoo/tools/convert.py", line 562, in _tag_record
f_val = self.id_get(f_ref)
File "/odoo/odoo/odoo/tools/convert.py", line 658, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/odoo/odoo/odoo/tools/convert.py", line 664, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/odoo/odoo/odoo/addons/base/models/ir_model.py", line 1926, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/odoo/odoo/odoo/tools/cache.py", line 88, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/odoo/odoo/odoo/addons/base/models/ir_model.py", line 1919, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: br_coa_me_epp.br_coa_me_epp_chart_template
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/odoo/odoo/odoo/addons/base/models/ir_http.py", line 236, in _dispatch
result = request.dispatch()
File "/odoo/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo/odoo/service/model.py", line 93, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo/odoo/http.py", line 912, in call
return self.method(*args, **kw)
File "/odoo/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo/addons/web/controllers/main.py", line 1396, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/odoo/odoo/addons/web/controllers/main.py", line 1384, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo/odoo/api.py", line 397, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo/odoo/api.py", line 384, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/odoo/odoo/odoo/addons/base/models/ir_module.py", line 72, in check_and_log
return method(self, *args, **kwargs)
File "/odoo/odoo/odoo/addons/base/models/ir_module.py", line 464, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odoo/odoo/odoo/addons/base/models/ir_module.py", line 582, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/odoo/odoo/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/odoo/odoo/odoo/modules/loading.py", line 457, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/odoo/odoo/odoo/modules/loading.py", line 345, in load_marked_modules
loaded, processed = load_module_graph(
File "/odoo/odoo/odoo/modules/loading.py", line 220, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/odoo/odoo/odoo/modules/loading.py", line 67, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/odoo/odoo/odoo/tools/convert.py", line 731, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/odoo/odoo/odoo/tools/convert.py", line 797, in convert_xml_import
obj.parse(doc.getroot())
File "/odoo/odoo/odoo/tools/convert.py", line 717, in parse
self._tag_root(de)
File "/odoo/odoo/odoo/tools/convert.py", line 679, in _tag_root
raise ParseError('while parsing %s:%s, near\n%s' % (
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/odoo/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing /odoo/odoo/addons/br_coa_me_epp/data/account_group_template.xml:3, near
Ao usar a verão atual do arquivo "account_group_template.xml" recebo um erro ao tentar atualizar, ou até mesmo intalar o móldulo em uma instação limpa. Abaixo mostro o erro recebido e a versão do códito que estou ultilizando. E gostaria de tentar entender porque a versão atual não está funcionando na minha instalação mesmo esta sendo a versão atualizada.
Conto com a ajuda de todos para tentar entender o que está se passando.
Grande Abraço!
Error apresentado ao instalar o módulo "br_coa_me_epp"
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo/odoo/tools/cache.py", line 83, in lookup
r = d[key]
File "/odoo/odoo/odoo/tools/func.py", line 69, in wrapper
return func(self, *args, **kwargs)
File "/odoo/odoo/odoo/tools/lru.py", line 33, in getitem
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fa19e5308b0>, 'br_coa_me_epp.br_coa_me_epp_chart_template')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo/odoo/tools/convert.py", line 675, in _tag_root
f(rec)
File "/odoo/odoo/odoo/tools/convert.py", line 562, in _tag_record
f_val = self.id_get(f_ref)
File "/odoo/odoo/odoo/tools/convert.py", line 658, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/odoo/odoo/odoo/tools/convert.py", line 664, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/odoo/odoo/odoo/addons/base/models/ir_model.py", line 1926, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/odoo/odoo/odoo/tools/cache.py", line 88, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/odoo/odoo/odoo/addons/base/models/ir_model.py", line 1919, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: br_coa_me_epp.br_coa_me_epp_chart_template
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/odoo/odoo/odoo/addons/base/models/ir_http.py", line 236, in _dispatch
result = request.dispatch()
File "/odoo/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo/odoo/service/model.py", line 93, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo/odoo/http.py", line 912, in call
return self.method(*args, **kw)
File "/odoo/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo/addons/web/controllers/main.py", line 1396, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/odoo/odoo/addons/web/controllers/main.py", line 1384, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo/odoo/api.py", line 397, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo/odoo/api.py", line 384, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/odoo/odoo/odoo/addons/base/models/ir_module.py", line 72, in check_and_log
return method(self, *args, **kwargs)
File "/odoo/odoo/odoo/addons/base/models/ir_module.py", line 464, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odoo/odoo/odoo/addons/base/models/ir_module.py", line 582, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/odoo/odoo/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/odoo/odoo/odoo/modules/loading.py", line 457, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/odoo/odoo/odoo/modules/loading.py", line 345, in load_marked_modules
loaded, processed = load_module_graph(
File "/odoo/odoo/odoo/modules/loading.py", line 220, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/odoo/odoo/odoo/modules/loading.py", line 67, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/odoo/odoo/odoo/tools/convert.py", line 731, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/odoo/odoo/odoo/tools/convert.py", line 797, in convert_xml_import
obj.parse(doc.getroot())
File "/odoo/odoo/odoo/tools/convert.py", line 717, in parse
self._tag_root(de)
File "/odoo/odoo/odoo/tools/convert.py", line 679, in _tag_root
raise ParseError('while parsing %s:%s, near\n%s' % (
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/odoo/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing /odoo/odoo/addons/br_coa_me_epp/data/account_group_template.xml:3, near
<record id="account_group_template_1" model="account.group.template"> <field name="chart_template_id" ref="br_coa_me_epp_chart_template"/> <field name="code_prefix_start">1</field> <field name="name">Ativo</field> </record>
Versão anterior
The text was updated successfully, but these errors were encountered: