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 6,427 views

The Question has been closed

by
Sudhir Arya (ERP Harbor Consulting Services)
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 (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
11456
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 

LinkedIn

Blog

Stackoverflow

Sudhir Arya
ERP Harbor Consulting Services
skype: 
sudhir@erpharbor.com 
Sudhir Arya (ERP Harbor Consulting Services)
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 (ERP Harbor Consulting Services)
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: 6427 times
Last updated: 6/21/17, 8:04 AM