This question has been flagged
2 Replies
4424 Views

Hi

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?.

Regards

Avatar
Discard
Author Best Answer

Hi,

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

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<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>
    </record>
    </data>   
</openerp>

Regards

Avatar
Discard
Best Answer

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

Avatar
Discard