Mình gặp lỗi sau khi cài đặt modul chấm công.
Mình dùng tài khoản quản trị để cài đặt.
Nhờ các bạn giúp đỡ.
Thanks!
Odoo Odoo Server Error Traceback (most recent call last): File "/opt/openerp/80/openerp/http.py", line 524, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/openerp/80/openerp/http.py", line 545, in dispatch result = self._call_function(**self.params) File "/opt/openerp/80/openerp/http.py", line 301, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/openerp/80/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/openerp/80/openerp/http.py", line 298, in checked_call return self.endpoint(*a, **kw) File "/opt/openerp/80/openerp/http.py", line 761, in __call__ return self.method(*args, **kw) File "/opt/openerp/80/openerp/http.py", line 394, in response_wrap response = f(*args, **kw) File "/home/nmytz6hzufgbjkekmcvk7pxt7olcifj1/addons/web/controllers/main.py", line 953, in call_button action = self._call_kw(model, method, args, {}) File "/home/nmytz6hzufgbjkekmcvk7pxt7olcifj1/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/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/openerp/80/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/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/openerp/80/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/openerp/80/openerp/modules/registry.py", line 346, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/openerp/80/openerp/modules/loading.py", line 363, in load_modules loaded_modules, update_module) File "/opt/openerp/80/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 "/opt/openerp/80/openerp/modules/loading.py", line 182, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/opt/openerp/80/openerp/modules/loading.py", line 118, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/opt/openerp/80/openerp/tools/convert.py", line 901, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/opt/openerp/80/openerp/tools/convert.py", line 987, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/opt/openerp/80/openerp/tools/convert.py", line 853, in parse self._tags[rec.tag](self.cr, rec, n, mode=mode) File "/opt/openerp/80/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/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/openerp/80/openerp/addons/base/ir/ir_model.py", line 1067, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/opt/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/nmytz6hzufgbjkekmcvk7pxt7olcifj1/addons/product/product.py", line 1134, in create return super(product_product, self).create(cr, uid, vals, context=ctx) File "/opt/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/nmytz6hzufgbjkekmcvk7pxt7olcifj1/addons/mail/mail_thread.py", line 377, in create thread_id = super(mail_thread, self).create(cr, uid, values, context=context) File "/opt/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/openerp/80/openerp/api.py", line 332, in old_api result = method(recs, *args, **kwargs) File "/opt/openerp/80/openerp/models.py", line 4007, in create record = self.browse(self._create(old_vals)) File "/opt/openerp/80/openerp/api.py", line 235, in wrapper return new_api(self, *args, **kwargs) File "/opt/openerp/80/openerp/api.py", line 464, in new_api result = method(self._model, cr, uid, *args, **kwargs) File "/opt/openerp/80/openerp/models.py", line 4063, in _create record_id = self.pool[table].create(cr, user, tocreate[table], context=context) File "/opt/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/nmytz6hzufgbjkekmcvk7pxt7olcifj1/addons/product/product.py", line 710, in create product_template_id = super(product_template, self).create(cr, uid, vals, context=context) File "/opt/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/nmytz6hzufgbjkekmcvk7pxt7olcifj1/addons/mail/mail_thread.py", line 377, in create thread_id = super(mail_thread, self).create(cr, uid, values, context=context) File "/opt/openerp/80/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/openerp/80/openerp/api.py", line 332, in old_api result = method(recs, *args, **kwargs) File "/opt/openerp/80/openerp/models.py", line 4007, in create record = self.browse(self._create(old_vals)) File "/opt/openerp/80/openerp/api.py", line 235, in wrapper return new_api(self, *args, **kwargs) File "/opt/openerp/80/openerp/api.py", line 464, in new_api result = method(self._model, cr, uid, *args, **kwargs) File "/opt/openerp/80/openerp/models.py", line 4145, in _create tuple([u[2] for u in updates if len(u) > 2]) File "/opt/openerp/80/openerp/sql_db.py", line 158, in wrapper return f(self, *args, **kwargs) File "/opt/openerp/80/openerp/sql_db.py", line 234, in execute res = self._obj.execute(query, params) ParseError: "null value in column "name" violates not-null constraint DETAIL: Failing row contains (1114, null, null, 1.0, null, 0, null, 1, fixed, 1, null, 2015-01-21 04:12:28.186431, 1.0, 1, f, null, null, 1, null, 1, consu, null, null, null, 2015-01-21 04:12:28.186431, t, 1, t, null, null, null, null, null, null, f, 7, f, f, null, t, null, null, no-message, no-message). " while parsing /home/nmytz6hzufgbjkekmcvk7pxt7olcifj1/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>