title: How to give user groups(XML) in the model ir.actions.server odoo 12?
body: <p>I used this xml code to add a button inside the 'Action',But i need to restrict the button to some user groups,</p>
  <pre><code>&lt;record id=&quot;specialist_no_show_action&quot; model=&quot;ir.actions.server&quot;&gt;
                  &lt;field name=&quot;name&quot;&gt;No Show &lt;/field&gt;
                  &lt;field name=&quot;type&quot;&gt;ir.actions.server&lt;/field&gt;
                  &lt;field name=&quot;binding_model_id&quot; ref=&quot;second_opinion.model_consultation&quot;/&gt;
                  &lt;field name=&quot;model_id&quot; ref=&quot;second_opinion.model_consultation&quot;/&gt;
                  &lt;field name=&quot;state&quot;&gt;code&lt;/field&gt;
                  &lt;field name=&quot;code&quot;&gt;
                      action = model.update_no_show()
                  &lt;/field&gt;
              &lt;/record&gt;
  </code></pre>