Skip to Content
Menú
This question has been flagged
2 Respostes
5463 Vistes

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
Descartar
Autor 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
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de maig 24
2364
3
d’abr. 23
11844
1
d’abr. 23
14863
9
de des. 23
24142
1
de maig 20
6598