title: How to solve error Invalid model in action definition
body: <p>I'm trying to add a new submenu with my custom module at the bottom of the "hr.contract" menus but it shows an error. Then I tried to run the example shown in the odoo documentation, the same error is displayed. I do not understand why or how it will be corrected. Any idea for help please? </p>
  
  <p>payroll_per_hour_view.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;openerp&gt;
  &lt;data&gt;
    &lt;record id="action_payroll_hour_form" model="ir.actions.act_window"&gt;
          &lt;field name="res_model"&gt;hr.contract&lt;/field&gt;
          &lt;field name="view_type"&gt;form&lt;/field&gt;
          &lt;field name="name"&gt;Grille de prix d'heure&lt;/field&gt;
          &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
          &lt;field name="type"&gt;ir.actions.act_window &lt;/field&gt;
      &lt;/record&gt;
     &lt;menuitem id="menu_payroll_per_hour" name="Grille d'heure" parent="hr.menu_hr_main"  action="action_payroll_hour_form" sequence="10"/&gt;
  
  &lt;/data&gt;
  &lt;/openerp&gt; 
  </code></pre>
  
  <p>traceback </p>
  
  <pre><code>ParseError: "ValidateError
  Champ(s)  `res_model, src_model` en erreur vis \xe0 vis de la contrainte : Mod\xe8le non valide dans la d\xe9finition de l'action.  " while parsing file:///d:/projet_odoo/odoo-8.0-20171009/openerp/addons/payroll_per_hour/views/payroll_per_hour_view.xml:5, near
   &lt;record id="action_payroll_hour_form" model="ir.actions.act_window"&gt;
                &lt;field name="res_model"&gt;hr.contract&lt;/field&gt;
               &lt;field name="view_type"&gt;form&lt;/field&gt;
              &lt;field name="name"&gt;Grille de prix d'heure&lt;/field&gt;
               &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
              &lt;field name="type"&gt;ir.actions.act_window &lt;/field&gt;
          &lt;/record&gt;
  </code></pre>
  
  <p><strong>openerp</strong>.py</p>
  
  <pre><code># -*- coding: utf-8 -*-
  
  {
  'name': 'Paiement par heure',
  'version': '8.0',
  'summary': '',
  'description': """
  
  """,
  'author': '',
  'images': [],
  'depends': [],
  'data': [ 'views/payroll_per_hour_view.xml',],
  'demo': [],
  'test': [],
  'installable': True,
  'auto_install': False,
  
   }
   # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
  </code></pre>