Odoo Help


Create new group and use in a button

Juan Carlos Falcón
on 12/31/13, 6:01 AM 1,265 views


I'm try creating a group for use in a button.

<button string="Validar director" name="validate_director" attrs="{'invisible':[('inz_state','!=','inz_validate_director')]}" type="workflow" groups="base.group_hr_Director" class="oe_highlight"/>

Group name is "Director" in "Human Resource". I assigned one employee to group but the button don't view in the form. Any idea?.


On 7/18/14, 9:26 AM

I have the same problem. Have you found any solution?

Juan Carlos Falcón
On 12/31/13, 8:25 AM


I needed have a file in directoy security with this content.

<?xml version="1.0" encoding="utf-8"?>
<data noupdate="0">
    <record id="inz_rh_dias_festivos.group_director" model="res.groups">
        <field name="name">Director</field>
        <field name="category_id" ref="base.module_category_human_resources"/>
        <field name="comment">Usuarios directores de la organización para validar partes de vacaciones</field>


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 12/31/13, 6:01 AM
Seen: 1265 times
Last updated: 3/16/15, 8:10 AM