Skip to Content
Menú
This question has been flagged
2 Respostes
3002 Vistes

Addon was purchased from odoo online market. Many attemps were made to reach the original author of the addon without success. forcing to post my quesiton here.

While  installing the addon the odoo return an error. and I'm wondering if anyone here could help finding the cause of it and a possible solution.

Here is the error:


Error:

Odoo Server Error

Traceback (most recent call last):

File "/opt/odoo/odoo/tools/cache.py", line 84, in lookup

r = d[key]

File "/opt/odoo/odoo/tools/func.py", line 68, in wrapper

return func(self, *args, **kwargs)

File "/opt/odoo/odoo/tools/lru.py", line 44, in __getitem__

a = self.d[obj].me

KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f9905605400>, 'BitPay.bitpay_form')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/opt/odoo/odoo/tools/convert.py", line 741, in parse

self._tags[rec.tag](rec, de, mode=mode)

File "/opt/odoo/odoo/tools/convert.py", line 639, in _tag_record

f_val = self.id_get(f_ref)

File "/opt/odoo/odoo/tools/convert.py", line 724, in id_get

res = self.model_id_get(id_str, raise_if_not_found)

File "/opt/odoo/odoo/tools/convert.py", line 730, 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 "/opt/odoo/odoo/addons/base/ir/ir_model.py", line 1323, in xmlid_to_res_model_res_id

return self.xmlid_lookup(xmlid)[1:3]

File "<decorator-gen-21>", line 2, in xmlid_lookup

File "/opt/odoo/odoo/tools/cache.py", line 89, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/odoo/addons/base/ir/ir_model.py", line 1312, in xmlid_lookup

raise ValueError('External ID not found in the system: %s' % xmlid)

ValueError: External ID not found in the system: BitPay.bitpay_form

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/opt/odoo/odoo/http.py", line 650, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/odoo/http.py", line 310, in _handle_exception

raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

File "/opt/odoo/odoo/tools/pycompat.py", line 87, in reraise

raise value

File "/opt/odoo/odoo/http.py", line 692, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/odoo/http.py", line 342, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/opt/odoo/odoo/service/model.py", line 97, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/odoo/http.py", line 335, in checked_call

result = self.endpoint(*a, **kw)

File "/opt/odoo/odoo/http.py", line 936, in __call__

return self.method(*args, **kw)

File "/opt/odoo/odoo/http.py", line 515, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/addons/web/controllers/main.py", line 934, in call_button

action = self._call_kw(model, method, args, {})

File "/opt/odoo/addons/web/controllers/main.py", line 922, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/opt/odoo/odoo/api.py", line 689, in call_kw

return call_kw_multi(method, model, args, kwargs)

File "/opt/odoo/odoo/api.py", line 680, in call_kw_multi

result = method(recs, *args, **kwargs)

File "<decorator-gen-40>", line 2, in button_immediate_install

File "/opt/odoo/odoo/addons/base/module/module.py", line 71, in check_and_log

return method(self, *args, **kwargs)

File "/opt/odoo/odoo/addons/base/module/module.py", line 448, in button_immediate_install

return self._button_immediate_function(type(self).button_install)

File "/opt/odoo/odoo/addons/base/module/module.py", line 541, in _button_immediate_function

modules.registry.Registry.new(self._cr.dbname, update_module=True)

File "/opt/odoo/odoo/modules/registry.py", line 85, in new

odoo.modules.load_modules(registry._db, force_demo, status, update_module)

File "/opt/odoo/odoo/modules/loading.py", line 343, in load_modules

loaded_modules, update_module)

File "/opt/odoo/odoo/modules/loading.py", line 242, in load_marked_modules

loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)

File "/opt/odoo/odoo/modules/loading.py", line 156, in load_module_graph

_load_data(cr, module_name, idref, mode, kind='data')

File "/opt/odoo/odoo/modules/loading.py", line 94, in _load_data

tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

File "/opt/odoo/odoo/tools/convert.py", line 788, in convert_file

convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

File "/opt/odoo/odoo/tools/convert.py", line 849, in convert_xml_import

obj.parse(doc.getroot(), mode=mode)

File "/opt/odoo/odoo/tools/convert.py", line 738, in parse

self.parse(rec, mode)

File "/opt/odoo/odoo/tools/convert.py", line 748, in parse

exc_info[2]

File "/opt/odoo/odoo/tools/pycompat.py", line 86, in reraise

raise value.with_traceback(tb)

File "/opt/odoo/odoo/tools/convert.py", line 741, in parse

self._tags[rec.tag](rec, de, mode=mode)

File "/opt/odoo/odoo/tools/convert.py", line 639, in _tag_record

f_val = self.id_get(f_ref)

File "/opt/odoo/odoo/tools/convert.py", line 724, in id_get

res = self.model_id_get(id_str, raise_if_not_found)

File "/opt/odoo/odoo/tools/convert.py", line 730, 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 "/opt/odoo/odoo/addons/base/ir/ir_model.py", line 1323, in xmlid_to_res_model_res_id

return self.xmlid_lookup(xmlid)[1:3]

File "<decorator-gen-21>", line 2, in xmlid_lookup

File "/opt/odoo/odoo/tools/cache.py", line 89, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/odoo/addons/base/ir/ir_model.py", line 1312, in xmlid_lookup

raise ValueError('External ID not found in the system: %s' % xmlid)

odoo.tools.convert.ParseError: "External ID not found in the system: BitPay.bitpay_form" while parsing /opt/odoo/custom-addons/BitPay/views/bitpay_configuration_view.xml:20, near

<record id="payment_acquirer_bitpay" model="payment.acquirer">

<field name="name">BitPay</field>

<field name="sequence">0</field>

<field name="inherit_id" ref="product.product_normal_form_view"/>

<field name="view_template_id" ref="bitpay_form"/>

<!--<field name="image" type="base64" file="static/description/icon.png"/>-->

<field name="module_id" ref="base.module_BitPay"/>

<field name="description" type="html">

<p>

BitPay is the easiest way to accept payments via BitCoins or USD or EUR.

</p>

<ul class="list-inline">

<li><i class="fa fa-check"/>Online Payment</li>

<li><i class="fa fa-check"/>Payment Status Tracking</li>

</ul>

</field>

</record>

Avatar
Descartar
Autor Best Answer

It's not possible to open a ticket for odoo community users. I will email apps@odoo.com... In the meantime if there is anyone that could provide some clues in how to fix the addon.... it would be greatly appreciated.


Avatar
Descartar
Best Answer

Hi,

Your module seems to be this one, https://apps.odoo.com/apps/modules/11.0/BitPay/


if you are nor getting the response from the vendor/author of the module, you contact the odoo team @ apps@odoo.com and you can raise a ticket that the bought module is not working.


As per the vendor guidelines,  the author is responsible to provide you the support.


See the vendor guidelines here,


Thanks

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de nov. 21
2877
1
de nov. 19
4538
0
de gen. 22
3621
1
d’ag. 24
3325
2
d’abr. 20
72113