Visitor (United States), Laure-Anne Passelecq (lpa) mailing list archives

Traceback (most recent call la [...]

by - 05/02/2016 21:51:31

Traceback (most recent call last): File "/home/odoo/odoo/openerp/http.py", line 643, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/odoo/openerp/http.py", line 680, in dispatch result = self._call_function(**self.params) File "/home/odoo/odoo/openerp/http.py", line 316, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/odoo/openerp/http.py", line 309, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/odoo/openerp/http.py", line 959, in __call__ return self.method(*args, **kw) File "/home/odoo/odoo/openerp/http.py", line 509, in response_wrap response = f(*args, **kw) File "/home/odoo/enterprise/web/controllers/main.py", line 1160, in run [action_id], request.context) File "/home/odoo/odoo/openerp/http.py", line 1064, in proxy result = meth(cr, request.uid, *args, **kw) File "/home/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 1083, in run res = func(cr, uid, action, eval_context=eval_context, context=run_context) File "/home/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/addons/website/models/ir_actions.py", line 62, in run_action_code_multi res = super(actions_server, self).run_action_code_multi(cr, uid, action, eval_context, context) File "/home/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 909, in run_action_code_multi eval(action.code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action' File "/home/odoo/odoo/openerp/tools/safe_eval.py", line 298, in safe_eval return eval(c, globals_dict, locals_dict) File "", line 1, in <module> File "/home/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/addons/base/module/module.py", line 459, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/home/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/addons/base/module/module.py", line 533, in _button_immediate_function registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) File "/home/odoo/odoo/openerp/modules/registry.py", line 386, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/home/odoo/odoo/openerp/modules/loading.py", line 338, in load_modules loaded_modules, update_module) File "/home/odoo/odoo/openerp/modules/loading.py", line 237, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/home/odoo/odoo/openerp/modules/loading.py", line 156, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/home/odoo/odoo/openerp/modules/loading.py", line 98, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/home/odoo/odoo/openerp/tools/convert.py", line 851, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/home/odoo/odoo/openerp/tools/convert.py", line 938, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/home/odoo/odoo/openerp/tools/convert.py", line 801, in parse self.parse(rec, mode) File "/home/odoo/odoo/openerp/tools/convert.py", line 804, in parse self._tags[rec.tag](self.cr, rec, de, mode=mode) File "/home/odoo/odoo/openerp/tools/convert.py", line 708, in _tag_record id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) File "/home/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 1142, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/home/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/api.py", line 354, in old_api result = method(recs, *args, **kwargs) File "/home/odoo/odoo/openerp/addons/base/res/res_partner.py", line 545, in create partner = super(res_partner, self).create(vals) File "/home/odoo/odoo/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/home/odoo/odoo/addons/mail/models/mail_thread.py", line 232, in create thread = super(MailThread, self).create(values) File "/home/odoo/odoo/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/models.py", line 4135, in create record = self.browse(self._create(old_vals)) File "/home/odoo/odoo/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/api.py", line 490, in new_api result = method(self._model, cr, uid, *args, **old_kwargs) File "/home/odoo/odoo/openerp/models.py", line 4273, in _create tuple([u[2] for u in updates if len(u) > 2]) File "/home/odoo/odoo/openerp/sql_db.py", line 141, in wrapper return f(self, *args, **kwargs) File "/home/odoo/odoo/openerp/sql_db.py", line 220, in execute res = self._obj.execute(query, params) ValueError: "" while evaluating u"self.button_immediate_install(cr, uid, context.get('active_ids', []), context=context)"