コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5466 ビュー

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?

アバター
破棄
関連投稿 返信 ビュー 活動
2
5月 24
2365
3
4月 23
11852
1
4月 23
14868
9
12月 23
24147
1
5月 20
6600