title: Odoo 8: How to show projects of current company BUT not sub companies?
body: <p>In odoo8 (Multi-company module is installed on it) I like to show the projects of the current company BUT NOT sub companies. when I add this line to the SearchView XML file:</p>
  
  <pre><code>&lt;filter string="Company" domain="[('company_id', '=', 1)]"/&gt; 
  </code></pre>
  
  <p>It works correctly (1 is the root company id). 
  But when i change it to :</p>
  
  <pre><code>&lt;filter string="Company" domain="[('company_id', '=', [user.company_id.id])]" /&gt;
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Uncaught Error: Failed to evaluate search criterions: 
  </code></pre>
  
  <p>{"code":400,"message":"Evaluation Error","data":    {"type":"local_exception","debug":"Local evaluation failure\nNameError: name 'user' is not defined\n\n{\"domains\":[[],\"[('company_id', '=',[user.company_id.id])]\"],\"contexts\":
  [{\"lang\":\"en_US\",\"tz\":\"America/Montreal\",\"uid\":1,\"search_default_Company\":1},\"{'group_by':'company_id'}\"],\"group_by_seq\":[\"{'group_by':'company_id'}\"]}"}}</p>
  
  <p>I appreciate if you tell me how can I pass the id of current company to the filter.</p>
  
  <p>Thanks,</p>