Odoo Help

1

how to create group and add to selection rather than check box in openerp 7.0 [Closed]

By
Maniganda
on 5/8/13, 9:52 AM 5,588 views

The Question has been closed

by
Sudhir Arya (SA)
on 03/18/2014 02:41:05

Hi, want to create the groups, and that should be added to selection list rather than check box

1
Sudhir Arya (SA)
On 5/8/13, 10:04 AM

First you have to create category for your group like this:

<record model="ir.module.category" id="module_my_gourp_category">
        <field name="name">My Group Category</field>
        <field name="description">Group Description.</field>
        <field name="sequence">10</field>
    </record>

Then give category reference in your group like this:

<record id="my_group" model="res.groups">
    <field name="name">My Group</field>
    <field name="category_id" ref="module_my_gourp_category"/>
</record>

This will create selection for group instead of check box.

Thanks Sudhir Arya, this is working fine for one group, how to add more than one group in selection list

Maniganda
on 5/8/13, 12:05 PM

It's simple. You just need to create more res.groups and give category reference in category_id.

Sudhir Arya (SA)
on 5/9/13, 1:37 AM

Thank you it worked

Maniganda
on 5/9/13, 1:43 AM

@ Arya I tried this way of solution but it is working for only one group. If i add another groups means it come as a check box. my question link is http://help.openerp.com/question/46770/how-add-drop-down-box-in-users-application-form/ help me...

sridhar
on 3/18/14, 2:42 AM

Hi it is very urgent please provide the solution...

sridhar
on 3/18/14, 3:28 AM
0
Muhammad Fahreza
On 7/2/14, 11:45 PM

My pleasure.

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

1 follower(s)

Stats

Asked: 5/8/13, 9:52 AM
Seen: 5588 times
Last updated: 6/21/17, 8:04 AM