Odoo Help

0

Create new group and use in a button

By
Juan Carlos Falcón
on 12/31/13, 6:01 AM 1,308 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

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

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

0
Davide
On 7/18/14, 9:26 AM

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

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.

Register

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)

Stats

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