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

How to add 4th value in user form

By
sridhar
on 8/7/14, 7:01 AM 618 views

In Settings user form i need on drop down box, based on groups, in that dropdown i need 7 type of users but i can add ony 3 users only, if i added 4 th user means it go to a check box. how to solve this. Here is my sample code.

<record model="ir.module.category" id="module_category_branch_management">
            <field name="name">Plant</field>
            <field name="description">Plant Management</field>
            <field name="sequence">20</field>            
    </record>

    <record id="group_uk_branch_user" model="res.groups">
        <field name="name">Branch User</field>        
    </record>

    <record id="group_uk_user" model="res.groups">
        <field name="name">UK</field>
        <field name="category_id" ref="module_category_branch_management"/>
        <field name="implied_ids" eval="[(4, ref('group_uk_branch_user'))]"/>
    </record>

    <record id="group_usa_user" model="res.groups">
        <field name="name">USA</field>
        <field name="category_id" ref="module_category_branch_management"/>
        <field name="implied_ids" eval="[(4, ref('group_uk_branch_user'))]"/>
    </record>

    <record id="group_uae_user" model="res.groups">
        <field name="name">UAE</field>
        <field name="category_id" ref="module_category_branch_management"/>
        <field name="implied_ids" eval="[(4, ref('group_uk_branch_user'))]"/>
    </record>

    <record id="group_ind_user" model="res.groups">
        <field name="name">IND</field>
        <field name="category_id" ref="module_category_branch_management"/>
        <field name="implied_ids" eval="[(4, ref('group_uk_branch_user'))]"/>
    </record>

 

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: 8/7/14, 7:01 AM
Seen: 618 times
Last updated: 3/16/15, 8:10 AM