Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Problem installing module online version

By
Clara Vandenhove
on 5/10/14, 6:50 AM 1,465 views

We have a problem when we want to install a new module, this error appears :

"Traceback (most recent call last): File "/home/odoo/src/server/saas-3/openerp/http.py", line 395, in dispatch result = self._call_function(*self.params) File "/home/odoo/src/server/saas-3/openerp/http.py", line 234, in _call_function return checked_call(self.db, *args, *kwargs) File "/home/odoo/src/server/saas-3/openerp/service/model.py", line 114, in wrapper return f(dbname, args, *kwargs) File "/home/odoo/src/server/saas-3/openerp/http.py", line 231, in checked_call return self.func(a, *kw) File "/home/odoo/src/server/saas-3/openerp/http.py", line 550, in __call__ return self.method(args, *kw) File "/home/odoo/src/web/saas-3/addons/web/controllers/main.py", line 1237, in call_button action = self._call_kw(model, method, args, {}) File "/home/odoo/src/web/saas-3/addons/web/controllers/main.py", line 1225, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, args, *kwargs) File "/home/odoo/src/server/saas-3/openerp/addons/base/module/module.py", line 427, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/home/odoo/src/server/saas-3/openerp/addons/base/module/module.py", line 478, in _button_immediate_function registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) File "/home/odoo/src/server/saas-3/openerp/modules/registry.py", line 247, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/home/odoo/src/server/saas-3/openerp/modules/loading.py", line 341, in load_modules loaded_modules, update_module) File "/home/odoo/src/server/saas-3/openerp/modules/loading.py", line 244, 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/src/server/saas-3/openerp/modules/loading.py", line 175, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/home/odoo/src/server/saas-3/openerp/modules/loading.py", line 116, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 972, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 1058, in convert_xml_import obj.parse(doc.getroot()) File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 926, in parse self._tagsrec.tag File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 855, 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/src/server/saas-3/openerp/addons/base/ir/ir_model.py", line 1012, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/home/odoo/src/addons/saas-3/mail/mail_thread.py", line 357, in create thread_id = super(mail_thread, self).create(cr, uid, values, context=context_operation) File "/home/odoo/src/server/saas-3/openerp/osv/orm.py", line 4089, in create record_id = self.pool[table].create(cr, user, tocreate[table], context=parent_context) File "/home/odoo/src/addons/saas-3/mail/mail_thread.py", line 357, in create thread_id = super(mail_thread, self).create(cr, uid, values, context=context_operation) File "/home/odoo/src/server/saas-3/openerp/osv/orm.py", line 4171, in create tuple([f[2] for f in columns if len(f) > 2]) File "/home/odoo/src/server/saas-3/openerp/sql_db.py", line 156, in wrapper return f(self, args, *kwargs) File "/home/odoo/src/server/saas-3/openerp/sql_db.py", line 221, in execute res = self._obj.execute(query, params) ParseError: "null value in column "name" violates not-null constraint " while parsing /home/odoo/src/addons/saas-3/hr_timesheet/hr_timesheet_data.xml:15, near <record id="product.product_product_consultant" model="product.product"> <field name="sale_ok">True</field> </record>"

It's the same to uninstall a module. How can we solve this ?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 5/10/14, 6:50 AM
Seen: 1465 times
Last updated: 3/16/15, 8:10 AM