Odoo Help

Welcome!

This community 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.

0

Need to add user groups to selection rather than check box in openerp 7.0

By
Aneesh
on 6/21/13, 4:55 AM 870 views

I want to show user groups in selectbox rather than check box. below given is my code

<record model="ir.module.category" id="module_mat_mgmt_category">
            <field name="name">Materials Consumption</field>
            <field name="description">manage materials</field>
            <field name="sequence">46</field>
        </record>

  <record id="group_mat_mgmt_manager" model="res.groups">
        <field name="name">Site Supervisor</field>
        <field name="category_id" ref="module_mat_mgmt_category"/>
    </record>
  <record id="group_mat_mgmt_user" model="res.groups">
        <field name="name">Site Incharge</field>
        <field name="category_id" ref="module_mat_mgmt_category"/>
    </record>

    <record id="group_mat_mgmt_officer" model="res.groups">
        <field name="name">GM Projects</field>
        <field name="category_id" ref="module_mat_mgmt_category"/>
    </record>

This showing in check box, I want to show this on select box

Hi Aneesh did you get any solution for this question.

sridhar
on 3/18/14, 3:01 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/21/13, 4:55 AM
Seen: 870 times
Last updated: 3/16/15, 8:10 AM