title: OpenERP ir.rule records in security.xml
body: <pre><code>    &lt;record model="ir.rule" id="stock_inventory_comp_rule"&gt;
          &lt;field name="name"&gt;Inventory multi-company&lt;/field&gt;
          &lt;field name="model_id" ref="model_stock_inventory" /&gt;
          &lt;field name="global" eval="True" /&gt;
          &lt;field name="domain_force"&gt;['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
          &lt;/field&gt;
      &lt;/record&gt;
  </code></pre>
  
  <p>I'm confused with above code fragment in security.xml files
  which is mean by below tags.?</p>
  
  <p><code>id="stock_inventory_comp_rule"</code> means of this line and where its tag with.or is it only for save &amp; keep for identify records by id purpose.?</p>
  
  <p><code>&lt;field name="name"&gt;Inventory multi-company&lt;/field&gt;</code> mean by this line.is this only use for display purpose.?</p>
  
  <p><code>&lt;field name="model_id" ref="model_stock_inventory" /&gt;</code> which one is mean by model_stock_inventory and what is the usage of this .?</p>
  
  <p><code>&lt;field name="global" eval="True" /&gt;</code> why this one set global True.?if we set it as False then what will the expected result.?</p>
  
  <p><code>&lt;field name="domain_force"&gt;['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</code>  here shows like domain filter in fields.? is this criteria set to above mentioned model class.?what is the usage of this fragment.?</p>