Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
5453 Представления

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

Аватар
Отменить
Автор Лучший ответ

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мая 24
2360
3
апр. 23
11836
1
апр. 23
14856
9
дек. 23
24129
1
мая 20
6584