title: openerp odoo v11.0 invalid model name error
body: <p>i am trying to build an odoo module named kroshu for stock managment 
  i have wrote the needed models and the views 
  after i try to install my module odoo server shows this message </p>
  
  <pre><code>  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\base\ir  \ir_actions.py", line 128, in _check_model
    raise ValidationError(_('Invalid model name %r in action definition.')  % action.res_model)
     odoo.tools.convert.ParseError: "Invalid model name 'kroshu.product' in  action definition.
      None" while parsing file:/c:/program%20files%20(x86)/odoo%2011.0/server/odoo/addons/kroshu_khalil_kasmi/data/actions.xml:5, near
  </code></pre>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;record model="ir.actions.act_window" id="action_kroshu_product"&gt;
         &lt;field name="name"&gt;Product&lt;/field&gt;
         &lt;field name="res_model"&gt;kroshu.product&lt;/field&gt;
         &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
      &lt;/record&gt;
  </code></pre>
  
  <p>my module is named Product.py :</p>
  
  <pre class="lang-py prettyprint-override"><code>from odoo import models,fields
  
  class Product(models.Model):
      _name = 'kroshu.product'
  
      product_id = fields.Char("product id",required =True)
      product_name = fields.Char("product name",required = True)
      product_description = fields.text("product description")
  
      product_type =  fields.One2many("product.type","product_type_id",string="type")
      product_category = fields.One2many("product.category","product_category_id",string="category")
  
      quantity_on_hand = fields.Integer("quantity on hand",required =True)
      forcasted_quantity = fields.Integer("forcasted quantity")
  
      location_in_stock = fields.Char("product location in stock")
  
      barcode = fields.text("barcode")
  
      vendor = fields.One2many("product.vendor","vendor_id",string="vendor/manufacturer")
  
      cost = fields.Float("cost")
  
      stock = fields.One2many("kroshu.stock","stock_id",string="in stock")
  </code></pre>
  
  <p>my action_views.xml file : </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;odoo&gt;
  &lt;menuitem name="Kroshu" id="kroshu_root_menu"/&gt;
  
  &lt;record model="ir.actions.act_window" id="action_kroshu_product"&gt;
      &lt;field name="name"&gt;Product&lt;/field&gt;
      &lt;field name="res_model"&gt;kroshu.product&lt;/field&gt;
      &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
  &lt;/record&gt;
  
  &lt;record model="ir.actions.act_window" id="action_kroshu_product_category"&gt;
      &lt;field name="name"&gt;Product Category&lt;/field&gt;
      &lt;field name="res_model"&gt;product.category&lt;/field&gt;
      &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
  &lt;/record&gt;
  ........ still more lines
  </code></pre>
  
  <p>my  __ init __ .py file : </p>
  
  <pre class="lang-py prettyprint-override"><code>from . import category
  from . import product
  </code></pre>