[trunk/7.0] hr_timesheet/hr_timesheet_data.xml: Record without name data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
hr_timesheet_
<record id="analytic_
<field name="code"
<field name="name"
<field name="type"
</record>
<record id="hr.employee" model="
<field name="journal_id" ref="analytic_
</record>
The hr.employee Record has no name value.
On a fresh DB that doesn't seem to matter during the installation, however in an existing DB when attempting to install the hr_timesheet module the following error occurs:
2014-04-24 09:15:54,402 9586 INFO odb701 openerp.
2014-04-24 09:15:54,468 9586 ERROR odb701 openerp.sql_db: bad query: insert into "resource_resource" (id,"active"
Traceback (most recent call last):
File "/usr/lib/
res = self._obj.
IntegrityError: null value in column "name" violates not-null constraint
I would like to know if the hr.employee record can't be simply removed from this file or what's the reason of having it?
with kind regards,
Sven