[FIX] portal_hr_employee: force inherit_id to False to avoid errors during migrations

The view has been converted to a first-class view
but was an inherited view before, so existing
database will exhibit issues when updating unless
the inherit_id field is forced to NULL.

Also fixed a minor typo.

lp bug: https://launchpad.net/bugs/1179349 fixed

bzr revid: odo@openerp.com-20130530151255-6kx6l91mwwa4tfei
This commit is contained in:
Olivier Dony 2013-05-30 17:12:55 +02:00
parent ac791818e0
commit 5b18695c45
1 changed files with 2 additions and 1 deletions

View File

@ -33,8 +33,9 @@
</record>
<record model="ir.ui.view" id="portal_hr_kanban_view_employees">
<field name="name">HR - Employess Kanban</field>
<field name="name">HR - Employees Kanban</field>
<field name="model">hr.employee</field>
<field name="inherit_id" eval="False"/>
<field name="arch" type="xml">
<kanban>
<field name="last_login"/>