Hi ! Odoo v8.
Here's the traceback:
2015-03-03 09:12:16,774 18816 INFO vmx openerp.modules.loading: loading hr_timesheet/hr_timesheet_data.xml
2015-03-03 09:12:16,837 18816 ERROR vmx openerp.sql_db: bad query: INSERT INTO "product_template" ("id", "track_all", "list_price", "color", "mes_type", "uom_id", "uos_coeff", "sale_ok", "categ_id", "track_outgoing", "company_id", "uom_po_id", "type", "track_incoming", "active", "rental", "sale_delay", "purchase_ok", "hr_expense_ok", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval('product_template_id_seq'), false, 1.0, 0, 'fixed', 1, 1.0, true, 1, false, 1, 1, 'consu', false, true, false, 7.0, true, false, 1, 1, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id
Traceback (most recent call last):
File "/opt/odoo/server/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
IntegrityError: ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « name »
DÉTAIL : La ligne en échec contient (3873, null, null, 1.0, null, 0, null, 1, fixed, 1, null, 2015-03-03 09:12:15.956421, 1.0, 1, f, null, null, 1, null, 1, consu, null, null, null, 2015-03-03 09:12:15.956421, t, 1, t, null, null, null, null, null, f, 7, f, f, null, null, t, f)2015-03-03 09:12:16,838 18816 ERROR vmx openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/server/openerp/http.py", line 518, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/server/openerp/http.py", line 539, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/server/openerp/http.py", line 295, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/server/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/server/openerp/http.py", line 292, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/server/openerp/http.py", line 755, in __call__
return self.method(*args, **kw)
File "/opt/odoo/server/openerp/http.py", line 388, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/server/openerp/addons/web/controllers/main.py", line 953, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/server/openerp/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/addons/base/res/res_config.py", line 586, in execute
action = self._install_modules(cr, uid, to_install, context=context)
File "/opt/odoo/server/openerp/addons/base/res/res_config.py", line 55, in _install_modules
result = ir_module.button_immediate_install(cr, uid, to_install_ids, context=context)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/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 "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/addons/base/module/module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/server/openerp/modules/registry.py", line 341, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/server/openerp/modules/loading.py", line 361, in load_modules
loaded_modules, update_module)
File "/opt/odoo/server/openerp/modules/loading.py", line 265, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/server/openerp/modules/loading.py", line 182, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/odoo/server/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/server/openerp/tools/convert.py", line 901, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/server/openerp/tools/convert.py", line 987, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/odoo/server/openerp/tools/convert.py", line 853, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/opt/odoo/server/openerp/tools/convert.py", line 763, 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 "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/addons/base/ir/ir_model.py", line 1066, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/addons/product/product.py", line 1132, in create
return super(product_product, self).create(cr, uid, vals, context=ctx)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/addons/mail/mail_thread.py", line 377, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/api.py", line 332, in old_api
result = method(recs, *args, **kwargs)
File "/opt/odoo/server/openerp/models.py", line 3999, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/server/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/opt/odoo/server/openerp/models.py", line 4055, in _create
record_id = self.pool[table].create(cr, user, tocreate[table], context=context)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/addons/product/product.py", line 710, in create
product_template_id = super(product_template, self).create(cr, uid, vals, context=context)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/addons/mail/mail_thread.py", line 377, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context)
File "/opt/odoo/server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/api.py", line 332, in old_api
result = method(recs, *args, **kwargs)
File "/opt/odoo/server/openerp/models.py", line 3999, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/server/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/odoo/server/openerp/api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/opt/odoo/server/openerp/models.py", line 4137, in _create
tuple([u[2] for u in updates if len(u) > 2])
File "/opt/odoo/server/openerp/sql_db.py", line 158, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/server/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ParseError: "ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne \xab name \xbb
D\xc9TAIL : La ligne en \xe9chec contient (3873, null, null, 1.0, null, 0, null, 1, fixed, 1, null, 2015-03-03 09:12:15.956421, 1.0, 1, f, null, null, 1, null, 1, consu, null, null, null, 2015-03-03 09:12:15.956421, t, 1, t, null, null, null, null, null, f, 7, f, f, null, null, t, f)
" while parsing /opt/odoo/server/openerp/addons/hr_timesheet/hr_timesheet_data.xml:15, near
<record id="product.product_product_consultant" model="product.product">
<field name="sale_ok">True</field>
</record>
Some help ? I don't get what's wrong.