it-projects-llc / odoo-saas-tools

Odoo SaaS Tools — tools for SaaS Businesses. Sale and manage Odoo databases.
https://saas.it-projects.info
GNU Lesser General Public License v3.0
543 stars 578 forks source link

Assertion Error #778

Open mkmehta5470 opened 6 years ago

mkmehta5470 commented 6 years ago

Traceback (most recent call last): File "/home/odoo/odoo-dev/odoo/odoo/http.py", line 642, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/odoo-dev/odoo/odoo/http.py", line 684, in dispatch result = self._call_function(self.params) File "/home/odoo/odoo-dev/odoo/odoo/http.py", line 334, in _call_function return checked_call(self.db, *args, *kwargs) File "/home/odoo/odoo-dev/odoo/odoo/service/model.py", line 101, in wrapper return f(dbname, args, kwargs) File "/home/odoo/odoo-dev/odoo/odoo/http.py", line 327, in checked_call result = self.endpoint(*a, kw) File "/home/odoo/odoo-dev/odoo/odoo/http.py", line 942, in call return self.method(*args, *kw) File "/home/odoo/odoo-dev/odoo/odoo/http.py", line 507, in response_wrap response = f(args, kw) File "/home/odoo/odoo-dev/odoo/addons/web/controllers/main.py", line 896, in call_button action = self._call_kw(model, method, args, {}) File "/home/odoo/odoo-dev/odoo/addons/web/controllers/main.py", line 884, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/odoo-dev/odoo/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/home/odoo/odoo-dev/odoo/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/home/odoo/odoo-dev/odoo/odoo/addons/base/module/module.py", line 411, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/home/odoo/odoo-dev/odoo/odoo/addons/base/module/module.py", line 485, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/home/odoo/odoo-dev/odoo/odoo/modules/registry.py", line 83, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/home/odoo/odoo-dev/odoo/odoo/modules/loading.py", line 368, in load_modules loaded_modules, update_module, models_to_check) File "/home/odoo/odoo-dev/odoo/odoo/modules/loading.py", line 261, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/home/odoo/odoo-dev/odoo/odoo/modules/loading.py", line 173, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/home/odoo/odoo-dev/odoo/odoo/modules/loading.py", line 96, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/home/odoo/odoo-dev/odoo/odoo/tools/convert.py", line 845, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/home/odoo/odoo-dev/odoo/odoo/tools/convert.py", line 902, in convert_xmlimport relaxng.assert(doc) File "lxml.etree.pyx", line 3271, in lxml.etree.Validator.assert (src/lxml/lxml.etree.c:145921) AssertionError: Element odoo has extra content: menuitem, line 3

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/60128452-assertion-error?utm_campaign=plugin&utm_content=tracker%2F3643037&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3643037&utm_medium=issues&utm_source=github).