This question has been flagged
2 Replies
2740 Views

Odoo

Odoo Server Error

Traceback (most recent call last): File "/home/starling/odoo/openerp/http.py", line 524, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/starling/odoo/openerp/http.py", line 545, in dispatch result = self._call_function(**self.params) File "/home/starling/odoo/openerp/http.py", line 301, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/starling/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/home/starling/odoo/openerp/http.py", line 298, in checked_call return self.endpoint(*a, **kw) File "/home/starling/odoo/openerp/http.py", line 761, in __call__ return self.method(*args, **kw) File "/home/starling/odoo/openerp/http.py", line 394, in response_wrap response = f(*args, **kw) File "/home/starling/odoo/addons/web/controllers/main.py", line 953, in call_button action = self._call_kw(model, method, args, {}) File "/home/starling/odoo/addons/web/controllers/main.py", line 941, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/home/starling/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/starling/odoo/openerp/addons/base/module/module.py", line 450, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/home/starling/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/starling/odoo/openerp/addons/base/module/module.py", line 498, in _button_immediate_function registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) File "/home/starling/odoo/openerp/modules/registry.py", line 346, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/home/starling/odoo/openerp/modules/loading.py", line 363, in load_modules loaded_modules, update_module) File "/home/starling/odoo/openerp/modules/loading.py", line 263, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/home/starling/odoo/openerp/modules/loading.py", line 182, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/home/starling/odoo/openerp/modules/loading.py", line 118, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/home/starling/odoo/openerp/tools/convert.py", line 901, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/home/starling/odoo/openerp/tools/convert.py", line 987, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/home/starling/odoo/openerp/tools/convert.py", line 853, in parse self._tags[rec.tag](self.cr, rec, n, mode=mode) File "/home/starling/odoo/openerp/tools/convert.py", line 757, in _tag_record f_val = _eval_xml(self,field, self.pool, cr, self.uid, self.idref) File "/home/starling/odoo/openerp/tools/convert.py", line 151, in _eval_xml return unsafe_eval(a_eval, idref2) File "<string>", line 1, in <module> File "/home/starling/odoo/openerp/tools/convert.py", line 83, in <lambda> return lambda x: self.id_get(cr, x) File "/home/starling/odoo/openerp/tools/convert.py", line 832, in id_get res = self.model_id_get(cr, id_str, raise_if_not_found) File "/home/starling/odoo/openerp/tools/convert.py", line 843, in model_id_get raise_if_not_found=raise_if_not_found) File "/home/starling/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/starling/odoo/openerp/addons/base/ir/ir_model.py", line 934, in xmlid_to_res_model_res_id return self.xmlid_lookup(cr, uid, xmlid)[1:3] File "/home/starling/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "<string>", line 2, in xmlid_lookup File "/home/starling/odoo/openerp/tools/cache.py", line 71, in lookup value = d[key] = self.method(*args, **kwargs) File "/home/starling/odoo/openerp/addons/base/ir/ir_model.py", line 924, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % (xmlid)) ParseError: "External ID not found in the system: fleet.menu_root" while parsing /home/starling/odoo/addons/fleet demo/fleet_data.xml:20, near <record id="action_fleet_menu" model="ir.actions.client"> <field name="name">Open Fleet Menu</field> <field name="tag">reload</field> <field name="params" eval="{'menu_id': ref('fleet.menu_root')}"/> </record>

Avatar
Discard
Best Answer

/home/starling/odoo/addons/fleet demo/fleet_data.xml:20  - error while parsing

Why module name = fleet demo, this is not standard module? You rename this module?

Eval from <field name="params" eval="{'menu_id': ref('fleet.menu_root')}"/> find module with name fleet

Avatar
Discard
Author Best Answer

ok i will check  this, and what is the .po file? and, when this .po file is creating? and, what is the use of this file?

Avatar
Discard

.po is a file with transaltions sources. You can create when you export a language.