title: Odoo: how to use domain with group in XML?
body: <p>I'm very new in odoo.</p>
  
  <p>I have created a group named "group_food_manager", and a model named "food_account".
  Now I want to create a list/tree view that :</p>
  
  <ol>
  <li>shows the account of the current user.</li>
  <li>shows all the accounts if current user is a member of the <code>group_food_manager</code> group.</li>
  </ol>
  
  <p>Here is the action of the list/tree view:</p>
  
  <pre><code>&lt;record id="food_account_action" model="ir.actions.act_window"&gt;
          &lt;field name="name"&gt;Accounts List&lt;/field&gt;
          &lt;field name="res_model"&gt;food_management.food_account&lt;/field&gt;
          &lt;field name="view_type"&gt;form&lt;/field&gt;
          &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
          &lt;!--&lt;field name="domain"&gt;[('user_id', '=', uid)]&lt;/field&gt;--&gt;   &lt;---- This works
          &lt;field name="domain"&gt;['|', ('user_id', '=', uid), ('group_food_manager', 'in', '?????']&lt;/field&gt;  &lt;- I don't know how to write it...
      &lt;/record&gt;
  </code></pre>
  
  <p>So, is it possibile to use domian with group in XML?</p>