Skip to content

Instantly share code, notes, and snippets.

@ejamesc
Created January 22, 2016 03:37
Show Gist options
  • Select an option

  • Save ejamesc/b30694876be2a33db549 to your computer and use it in GitHub Desktop.

Select an option

Save ejamesc/b30694876be2a33db549 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/http.py", line 539, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/http.py", line 576, in dispatch
result = self._call_function(**self.params)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/http.py", line 312, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/http.py", line 309, in checked_call
return self.endpoint(*a, **kw)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/http.py", line 814, in __call__
return self.method(*args, **kw)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/http.py", line 405, in response_wrap
response = f(*args, **kw)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/addons/web/controllers/main.py", line 968, in call_button
action = self._call_kw(model, method, args, {})
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/addons/web/controllers/main.py", line 956, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/addons/base/module/module.py", line 474, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/addons/base/module/module.py", line 522, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/modules/registry.py", line 371, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/modules/loading.py", line 354, in load_modules
loaded_modules, update_module)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/modules/loading.py", line 254, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/modules/loading.py", line 175, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/modules/loading.py", line 117, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/convert.py", line 863, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/convert.py", line 950, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/convert.py", line 813, in parse
self.parse(rec, mode)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/convert.py", line 816, in parse
self._tags[rec.tag](self.cr, rec, de, mode=mode)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/convert.py", line 712, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/convert.py", line 794, in id_get
res = self.model_id_get(cr, id_str, raise_if_not_found)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/convert.py", line 805, in model_id_get
raise_if_not_found=raise_if_not_found)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/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 "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "<string>", line 2, in xmlid_lookup
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/openerp/tools/cache.py", line 74, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/Users/cedric/Projects/FloatingCube/epos/odoo-temp/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: spa_sessions.view_pos_session_search_redemption" while parsing /Users/cedric/Projects/FloatingCube/epos/odoo-temp/addons/spa_sessions/views.xml:18, near
<record model="ir.actions.act_window" id="action_pos_redemption">
<field name="name">All Redemption</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">spa_sessions.redemption</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_pos_session_search_redemption"/>
</record>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment