1

I have tried to create the security group as check box. But it is coming as a selection only. The code is give below.

    <record model="ir.module.category" id="module_category_ga">
        <field name="name">GA Access Rights</field>
        <field name="sequence">205</field>
    </record>

    <record id="group_directors" model="res.groups">
        <field name="name">Directors</field>
        <field name="category_id" ref="module_category_ga"/>
    </record>

This is the code.

1 Answer 1

2

Just don't use a module category if you want it as a checkbox.

    <record id="group_directors" model="res.groups">
        <field name="name">Directors</field>
    </record>
Sign up to request clarification or add additional context in comments.

2 Comments

No. It is not changed. Still it shows in a selection field. @CZoellner
You have to remove the Category by yourself or just add <field name="category_id" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.