openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #01420
[Bug 822653] Re: Cannot install hr_evaluation (v6) module
Hi,
I have the same problem when I try to install hr_evalutation from the "add more features" link.
Here is a full stack trace of the error:
[2011-11-18 10:47:25,996][test] INFO:init.load:module hr_evaluation: loading hr_evaluation_data.xml
[2011-11-18 10:47:26,840][test] ERROR:db.cursor:bad query: insert into "resource_resource" (id,"active","time_efficiency","company_id","resource_type",create_uid,create_date) values (2,E'True',1.0,1,E'user',1,now())
Traceback (most recent call last):
File "/home/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/sql_db.py", line 215, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "name" violates not-null constraint
[2011-11-18 10:47:26,864][test] ERROR:tools.convert.xml_import:Parse error in /home/openerp/bazaar/trunk/openobject-addons/hr_evaluation/hr_evaluation_data.xml:1219:
<record id="hr.employee1" model="hr.employee">
<field name="evaluation_plan_id" ref="hr_evaluation_plan_managersevaluationplan0"/>
</record>
Traceback (most recent call last):
File "/home/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/tools/convert.py", line 889, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/tools/convert.py", line 856, in _tag_record
id = self.pool.get('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/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/addons/base/ir/ir_model.py", line 719, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/openerp/bazaar/trunk/openobject-addons/hr_evaluation/hr_evaluation.py", line 135, in create
id = super(hr_employee, self).create(cr, uid, vals, context=context)
File "/home/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/osv/orm.py", line 4002, in create
record_id = self.pool.get(table).create(cr, user, tocreate[table], context=context)
File "/home/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/osv/orm.py", line 4060, in create
cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
File "/home/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/sql_db.py", line 153, in wrapper
return f(self, *args, **kwargs)
File "/home/openerp/projects/openERP/development/lptrunk/openobject-server/openerp/sql_db.py", line 215, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "name" violates not-null constraint
Thanks
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/822653
Title:
Cannot install hr_evaluation (v6) module
Status in OpenERP Addons (modules):
Invalid
Bug description:
I have just downloaded the new version of hr_evaluation module in the openerp trunk. But when I try to install it, the following error appears:
"The operation cannot be completed, probably due to the following: - deletion: you may be trying to delete a record while other records still reference it - creation/update: a mandatory field is not correctly set [object with reference: ir.ui.view - ir.ui.view]"
What does this error mean and how will I solve this issue?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/822653/+subscriptions