Skip to Content
Menu
This question has been flagged
1 Reply
14927 Views

I get this error whenever I try to install a custom module I got through the odoo app store. I downloaded the module, and then extracted it into the addons directory, and now it appears in apps list, but if I click install, I get the following error


RPC_ERROROdoo Server ErrorTraceback (most recent call last): File "/odoo/odoo-server/odoo/tools/convert.py", line 680, in _tag_root f(rec) File "/odoo/odoo-server/odoo/tools/convert.py", line 583, in _tag_record record = model._load_records([data], self.mode == 'update') File "/odoo/odoo-server/odoo/models.py", line 4383, in _load_records records = self._load_records_create([data['values'] for data in to_create]) File "/odoo/odoo-server/odoo/models.py", line 4312, in _load_records_create return self.create(values) File "", line 2, in create File "/odoo/odoo-server/odoo/api.py", line 410, in _model_create_multi return create(self, arg) File "/odoo/odoo-server/addons/account/models/account_payment_method.py", line 28, in create if information.get('mode') == 'multi':AttributeError: 'NoneType' object has no attribute 'get'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/odoo/odoo-server/odoo/http.py", line 686, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 358, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 346, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 915, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 534, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 1324, in call_button action = self._call_kw(model, method, args, kwargs) File "/odoo/odoo-server/addons/web/controllers/main.py", line 1312, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 461, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 448, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 74, in check_and_log return method(self, *args, **kwargs) File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 483, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 601, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/odoo/odoo-server/odoo/modules/registry.py", line 88, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 469, in load_modules processed_modules += load_marked_modules(cr, graph, File "/odoo/odoo-server/odoo/modules/loading.py", line 362, in load_marked_modules loaded, processed = load_module_graph( File "/odoo/odoo-server/odoo/modules/loading.py", line 221, in load_module_graph load_data(cr, idref, mode, kind='data', package=package) File "/odoo/odoo-server/odoo/modules/loading.py", line 69, in load_data tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind) File "/odoo/odoo-server/odoo/tools/convert.py", line 745, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate) File "/odoo/odoo-server/odoo/tools/convert.py", line 811, in convert_xml_import obj.parse(doc.getroot()) File "/odoo/odoo-server/odoo/tools/convert.py", line 731, in parse self._tag_root(de) File "/odoo/odoo-server/odoo/tools/convert.py", line 680, in _tag_root f(rec) File "/odoo/odoo-server/odoo/tools/convert.py", line 693, in _tag_root raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (Exception
The above exception was the direct cause of the following exception:
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 302, in _handle_exception raise exception.with_traceback(None) from new_causeodoo.tools.convert.ParseError: while parsing /odoo/odoo-server/odoo/addons/base_accounting_kit/data/account_pdc_data.xml:5, somewhere inside PDC pdc inbound

Avatar
Discard
Best Answer

Hi,


As you are installing this module there are concerns in one value.


AttributeError: 'NoneType' object has no attribute 'get' 

Please check this and try to resolve it.


Thanks

Avatar
Discard
Related Posts Replies Views Activity
2
Apr 24
1121
3
Apr 23
10657
2
Mar 15
10732
1
Jan 23
1520
0
Dec 22
3464